Skip to main content

KNOWN_SETUP_PARAMETERS

Constant KNOWN_SETUP_PARAMETERS 

Source
const KNOWN_SETUP_PARAMETERS: &[u64];
Expand description

The Setup Parameter types draft-16 defines, from the definitions in Section 9.3.1: PATH (0x01), MAX_REQUEST_ID (0x02), AUTHORIZATION TOKEN (0x03), MAX_AUTH_TOKEN_CACHE_SIZE (0x04), AUTHORITY (0x05) and MOQT_IMPLEMENTATION (0x07).

The list exists for one rule and one direction: “Receivers MUST allow duplicates of unknown Setup Parameters.” A type outside this list is one an extension defined, and this codec has no business closing a session over it. Nothing else reads the list — an unknown Setup Parameter is still decoded and carried, as “Receivers ignore unrecognized Setup Parameters” requires.