public TsMediaParser(ITsDecoder tsDecoder, ITsPesPacketPool tsPesPacketPool, IBufferPool bufferPool, ITsTimestamp tsTimemestamp, IPesHandlers pesHandlers) { if (null == tsDecoder) { throw new ArgumentNullException("tsDecoder"); } if (null == tsPesPacketPool) { throw new ArgumentNullException("tsPesPacketPool"); } if (null == bufferPool) { throw new ArgumentNullException("bufferPool"); } if (null == tsTimemestamp) { throw new ArgumentNullException("tsTimemestamp"); } if (null == pesHandlers) { throw new ArgumentNullException("pesHandlers"); } this._tsPesPacketPool = tsPesPacketPool; this._bufferPool = bufferPool; this._tsDecoder = tsDecoder; this._tsTimemestamp = tsTimemestamp; this._pesHandlers = pesHandlers; }
public TsProgramMapTable(ITsDecoder decoder, ITsDescriptorFactory descriptorFactory, int programNumber, uint pid, Action<IProgramStreams> streamFilter) : base(TsTableId.TS_program_map_section) { if (null == decoder) throw new ArgumentNullException(nameof(decoder)); if (null == descriptorFactory) throw new ArgumentNullException(nameof(descriptorFactory)); _decoder = decoder; _descriptorFactory = descriptorFactory; _programNumber = programNumber; _pid = pid; _streamFilter = streamFilter; }
public TsProgramAssociationTable(ITsDecoder decoder, ITsProgramMapTableFactory programMapTableFactory, Func <int, bool> programFilter, Action <IProgramStreams> streamFilter) : base(TsProgramSpecificInformation.TsTableId.program_association_section) { if (null == decoder) { throw new ArgumentNullException("decoder"); } if (null == programMapTableFactory) { throw new ArgumentNullException("programMapTableFactory"); } this._decoder = decoder; this._programMapTableFactory = programMapTableFactory; this._programFilter = programFilter; this._streamFilter = streamFilter; }
public TsProgramMapTable(ITsDecoder decoder, ITsDescriptorFactory descriptorFactory, int programNumber, uint pid, Action <IProgramStreams> streamFilter) : base(TsProgramSpecificInformation.TsTableId.TS_program_map_section) { if (null == decoder) { throw new ArgumentNullException("decoder"); } if (null == descriptorFactory) { throw new ArgumentNullException("descriptorFactory"); } this._decoder = decoder; this._descriptorFactory = descriptorFactory; this._programNumber = programNumber; this._pid = pid; this._streamFilter = streamFilter; }
public TsMediaParser(ITsDecoder tsDecoder, ITsPesPacketPool tsPesPacketPool, IBufferPool bufferPool, ITsTimestamp tsTimemestamp, IPesHandlers pesHandlers) { if (null == tsDecoder) throw new ArgumentNullException(nameof(tsDecoder)); if (null == tsPesPacketPool) throw new ArgumentNullException(nameof(tsPesPacketPool)); if (null == bufferPool) throw new ArgumentNullException(nameof(bufferPool)); if (null == tsTimemestamp) throw new ArgumentNullException(nameof(tsTimemestamp)); if (null == pesHandlers) throw new ArgumentNullException(nameof(pesHandlers)); _tsPesPacketPool = tsPesPacketPool; _bufferPool = bufferPool; _tsDecoder = tsDecoder; _tsTimemestamp = tsTimemestamp; _pesHandlers = pesHandlers; }
public TsProgramMapTable Create(ITsDecoder decoder, int programNumber, uint pid, Action<IProgramStreams> streamFilter) { return new TsProgramMapTable(decoder, _descriptorFactory, programNumber, pid, streamFilter); }
public TsProgramMapTable Create(ITsDecoder decoder, int programNumber, uint pid, Action <IProgramStreams> streamFilter) { return(new TsProgramMapTable(decoder, this._descriptorFactory, programNumber, pid, streamFilter)); }
public TsProgramAssociationTable Create(ITsDecoder decoder, Func <int, bool> programFilter, Action <IProgramStreams> streamFilter) { return(new TsProgramAssociationTable(decoder, this._programMapTableFactory, programFilter, streamFilter)); }