Module mpeg2ts_reader::demultiplex [−][src]
Main types implementing the demultiplexer state-machine.
Construct an instance of Demultiplex and feed it one a succession
of byte-slices containing the Transport Stream data.
Users of this crate are expected to provide their own implementations of,
PacketFilter- for defining per-stream-type handling, possibly by using thepacket_filter_switch!()macro to create an enum implementing this trait.DemuxContext- to create specificPacketFilterinstances for each type of sub-stream found within the Transport Stream data. possibly by using thedemux_context!()macro.
Structs
| Demultiplex | Transport Stream demultiplexer. |
| FilterChangeset | Owns a queue of |
| NullPacketFilter | No-op implementation of |
| PatPacketFilter |
|
| PmtPacketFilter |
|
Enums
| DemuxError | TODO: this type does not belong here |
| FilterChange | Represents the intention to either insert a new |
| FilterRequest | Request that may be submitted to a
|
Traits
| DemuxContext | Context shared between the |
| PacketFilter | Trait to which |