Expand description
A Packet struct and associated infrastructure to read an MPEG Transport Stream packet
Structs§
- Adaptation
Control - Representation of the
adaptation_field_controlfield from the Transport Stream packet header. The methods on this type indicate whether aPacket’sadaptation_field()andpayload()methods will returnSomeorNone. - Adaptation
Field - A collection of fields that may optionally appear within the header of a transport stream
Packet. - Adaptation
Field Extension - Optional extensions within an
AdaptationField. - Clock
Ref - A Clock Reference is used to represent the values of PCR and ESCR fields within the transport stream data.
- Continuity
Counter - 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_controlindicates that a payload should be present. - Packet
- A transport stream
Packetis 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. - Pid
- A Packet Identifier value, between
0x0000and0x1fff. - Seamless
Splice - Value of the seamless_splice field, as returned by
AdaptationFieldExtension::seamless_splice()method - Transport
Scrambling Control - Indicates content scrambling in use, if any.
Enums§
- Adaptation
Field Error - Some error encountered while parsing adaptation field syntax