rustduck-core 1.1.0

Safe typed TSDuck core bindings for rustduck
Documentation
1
2
3
4
5
6
7
8
9
10
//! MPEG transport-stream protocol primitives shared by stream components.

/// Size of one MPEG-TS packet in bytes.
pub const TS_PACKET_SIZE: usize = 188;

/// Size of a transport-stream packet with a 16-byte Reed-Solomon trailer.
pub const RS204_PACKET_SIZE: usize = 204;

/// Size of an M2TS record containing a four-byte prefix and a TS packet.
pub const M2TS_PACKET_SIZE: usize = 192;