Expand description
Wire encoding for the Low Overhead Container (LOC) defined in draft-ietf-moq-loc.
A LOC frame is laid out as:
[varint: properties_length]
[properties_block: properties_length bytes of KVPs]
[codec_bitstream: remaining bytes]Each KVP starts with a delta-encoded type id. Even types carry a single varint value, odd types carry length-prefixed bytes. Recognized types:
| ID | Name | Decoded into |
|---|---|---|
| 0x06 | Timestamp | Frame::timestamp (required) |
| 0x08 | Timescale | Frame::timescale (optional, per-frame override) |
| 0x0d | Video Config | Skipped. The hang catalog’s description is authoritative. |
Any other property is silently skipped on decode and never emitted on encode. Public properties are not handled here. They belong in the MoQ object header and are stripped by the transport layer.
Varint encoding is QUIC-style throughout, matching the rest of the moq stack.
Structs§
- Frame
- A decoded LOC frame.
Enums§
- Error
- Errors from LOC frame encode/decode.