Stream transducer that converts packets in to sections.
Stream transducer that converts packets in to sections.
The packets may span PID values. De-packetization is performed on each PID and as whole sections are received, reassembled sections are emitted.
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.
Provides a stream decoder that decodes a bitstream of 188 byte MPEG packets in to a stream of sections.
(sectionCodec: TransformSyntax[Codec, Section]).exmap(f, g)
(sectionCodec: TransformSyntax[Codec, Section]).narrow(f, g)
(sectionCodec: ValueCodecEnrichedWithHListSupport[Section]).self
(sectionCodec: TransformSyntax[Codec, Section]).self
(sectionCodec: Tuple2CodecSupport[Section]).self
(sectionCodec: EnrichedCoproductEncoder[Coproduct with Section]).self
(sectionCodec: ValueCodecEnrichedWithGenericSupport[Section]).self
(sectionCodec: TransformSyntax[Codec, Section]).widen(f, g)
(sectionCodec: TransformSyntax[Codec, Section]).xmap(f, g)
(Since version 1.7.0) Use widenOpt instead