/// <summary> /// Initialisiert eine Instanz. /// </summary> protected TransportStreamAccessor() { // Analyseeinheit erzeugen m_TTXConsumer = new TTXStreamConsumer(this); // Videotext PES Analysator erzeugen m_TTXStream = new TS.TTXStream(m_TTXConsumer, 0, false); // Install parser m_PATParser = new Parser(); // Register receiver m_PATParser.SectionFound += ProcessPAT; // Connect to parser m_TSParser.SetFilter(0, true, m_PATParser.OnData); // Install EPG parser m_EPGParser = new Parser(); // Register receiver m_EPGParser.SectionFound += ProcessEPG; // Connect to parser m_TSParser.SetFilter(0x12, true, m_EPGParser.OnData); }
/// <summary> /// Initialisiert eine Instanz. /// </summary> protected TransportStreamAccessor() { // Analyseeinheit erzeugen m_TTXConsumer = new TTXStreamConsumer( this ); // Videotext PES Analysator erzeugen m_TTXStream = new TS.TTXStream( m_TTXConsumer, 0, false ); // Install parser m_PATParser = new Parser(); // Register receiver m_PATParser.SectionFound += ProcessPAT; // Connect to parser m_TSParser.SetFilter( 0, true, m_PATParser.OnData ); // Install EPG parser m_EPGParser = new Parser(); // Register receiver m_EPGParser.SectionFound += ProcessEPG; // Connect to parser m_TSParser.SetFilter( 0x12, true, m_EPGParser.OnData ); }