Skip to main content

KNOWN_SETUP_PARAMETERS

Constant KNOWN_SETUP_PARAMETERS 

Source
const KNOWN_SETUP_PARAMETERS: &[u64];
Expand description

Every setup parameter type draft-15 names, from 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 last is what draft-14 numbered 0x05, colliding with AUTHORITY; draft-15 is where it moved.

Setup parameters are a separate namespace — Section 9.2.1 says so outright: “since Setup parameters use a separate namespace, it is impossible for these parameters to appear in Setup messages” — so a receiver deciding whether it can name a type has to know which of the two lists to consult. Reading a SETUP against the version-specific list would tolerate a repeated PATH, which this draft names and a receiver may refuse.