Module mpeg2ts_reader::packet

source ·
Expand description

A Packet struct and associated infrastructure to read an MPEG Transport Stream packet

Structs

A collection of fields that may optionally appear within the header of a transport stream Packet.
Optional extensions within an AdaptationField.
A Clock Reference is used to represent the values of PCR and ESCR fields within the transport stream data.
A counter value used within a transport stream to detect discontinuities in a sequence of packets. The continuity counter should increase by one for each packet with a given PID for which adaptation_control indicates that a payload should be present.
A transport stream Packet is a wrapper around a byte slice which allows the bytes to be interpreted as a packet structure per ISO/IEC 13818-1, Section 2.4.3.3.

Enums

the different values indicating whether a Packet’s adaptation_field() and payload() methods will return Some or None.

Traits

trait for objects which process transport stream packets