Esempio n. 1
0
        public NITParser()
        {
            IsReady = false;

            this.dec1 = new TsSectionDecoder(0x10, 0x40);
            this.dec1.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection);
            //this.dec2 = new TsSectionDecoder(0x10, 0x41);
            //this.dec2.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection);
        }
Esempio n. 2
0
        public SDTParser()
        {
            IsReady = false;

            this.dec1 = new TsSectionDecoder(0x11, 0x42);
            this.dec1.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection);
            this.dec2 = new TsSectionDecoder(0x11, 0x46);
            this.dec2.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection);
        }
Esempio n. 3
0
 public PMTParser(short pid)
 {
     IsReady         = false;
     _sectionDecoder = new TsSectionDecoder((ushort)pid, 0x02);
     _sectionDecoder.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection);
 }
Esempio n. 4
0
 public PATParser()
 {
     _sectionDecoder = new TsSectionDecoder(0x00, 0x00);
     _sectionDecoder.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection);
     IsReady = false;
 }