Expand description
TS Byte-Stream Resynchroniser — ISO/IEC 13818-1 §2.4.3.2.
Recovers 188-byte MPEG-TS packet alignment from an arbitrary byte stream (file reads, UDP payloads) that may start mid-packet or contain junk. Also detects 204-byte packets (188-byte TS + 16 Reed-Solomon parity) and strips the parity bytes.
Structs§
- Resync
Stats - Counters accumulated during resynchronisation.
- TsResync
- TS byte-stream resynchroniser.
Enums§
- Packet
Stride - Detected packet size after locking.
Constants§
- RS_
PACKET_ SIZE - TS packet with 16-byte Reed-Solomon outer code (DVB).
- SYNC_
BYTE - Sync byte value (ISO/IEC 13818-1 §2.4.3.2).
- TS_
PACKET_ SIZE - Transport Stream packet size (ISO/IEC 13818-1 §2.4.3.2).