//! 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;