Skip to main content

encode_track_extensions

Function encode_track_extensions 

Source
fn encode_track_extensions(
    exts: &[KeyValuePair],
    buf: &mut impl BufMut,
) -> Result<(), CodecError>
Expand description

Encode track_extensions (each KVP back-to-back, no count prefix), with Types delta-encoded from 0.

Held to the same value ranges as the decoder. A value this codec refuses to read is one it must not write: the peer that receives it is required to close the session, so the sender’s first sign of trouble would be the session going.