Skip to main content

encode_track_properties

Function encode_track_properties 

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

Encode a control message’s Track Properties.

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.