Stream transducer that converts packets in to sections and PES packets.
Stream transducer that converts packets in to sections and PES packets.
The packets may span PID values. De-packetization is performed on each PID and as whole messages are received, reassembled messages are emitted.
PES packets emitted by this method never include parsed headers -- that is, every emitted PES packet is of
type PesPacket.WithoutHeader
. To get PES packets with parsed headers, use demultiplexWithPesHeaders
.
Errors encountered while depacketizing are emitted.
Upon noticing a PID discontinuity, an error is emitted and PID decoding state is discarded, resulting in any in-progress section decoding to be lost for that PID.
Generic variant of demultiplex
that allows section and PES decoding to be explicitly specified.
Variant of demultiplex
that parses PES packet headers.
Provides a stream decoder that decodes a bitstream of 188 byte MPEG packets in to a stream of messages.
Supports depacketization of an MPEG transport stream, represented as a stream of
Packet
s.