Module mpeg2ts_reader::packet[][src]

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

Structs

AdaptationField

A collection of fields that may optionally appear within the header of a transport stream Packet.

AdaptationFieldExtension

Optional extensions within an AdaptationField.

ClockRef

A Clock Reference is used to represent the values of PCR and ESCR fields within the transport stream data.

ContinuityCounter

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.

Packet

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.

Pid

A Packet Identifier value, between 0x0000 and 0x1fff.

SeamlessSplice

Value of the seamless_splice field, as returned by AdaptationFieldExtension::seamless_splice() method

Enums

AdaptationControl

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

AdaptationFieldError

Some error encountered while parsing adaptation field syntax

TransportScramblingControl

Indicates content scrambling in use, if any.