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); }
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); }
public PMTParser(short pid) { IsReady = false; _sectionDecoder = new TsSectionDecoder((ushort)pid, 0x02); _sectionDecoder.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection); }
public PATParser() { _sectionDecoder = new TsSectionDecoder(0x00, 0x00); _sectionDecoder.OnSectionDecoded += new TsSectionDecoder.MethodOnSectionDecoded(this.OnNewSection); IsReady = false; }