Expand description
Draft-10 control message encoding and decoding.
The wire format is draft-09’s, unchanged: the same 26 message types with the same field lists. Only the section numbering moves, which is why the citations here are one chapter later than draft-09’s.
Filter Type 0x1 is absent, as it is on draft-09 - it was withdrawn there,
not here.
Structs§
- Announce
- ANNOUNCE message (type 0x06).
- Announce
Cancel - ANNOUNCE_CANCEL message (type 0x0C).
- Announce
Error - ANNOUNCE_ERROR message (type 0x08).
- Announce
Ok - ANNOUNCE_OK message (type 0x07).
- Client
Setup - CLIENT_SETUP message (type 0x40).
- Fetch
- FETCH message (type 0x16).
- Fetch
Cancel - FETCH_CANCEL message (type 0x17).
- Fetch
Error - FETCH_ERROR message (type 0x19).
- FetchOk
- FETCH_OK message (type 0x18).
- GoAway
- GOAWAY message (type 0x10).
- MaxSubscribe
Id - MAX_SUBSCRIBE_ID message (type 0x15).
- Server
Setup - SERVER_SETUP message (type 0x41).
- Subscribe
- SUBSCRIBE message (type 0x03).
- Subscribe
Announces - SUBSCRIBE_ANNOUNCES message (type 0x11).
- Subscribe
Announces Error - SUBSCRIBE_ANNOUNCES_ERROR message (type 0x13).
- Subscribe
Announces Ok - SUBSCRIBE_ANNOUNCES_OK message (type 0x12).
- Subscribe
Done - SUBSCRIBE_DONE message (type 0x0B).
- Subscribe
Error - SUBSCRIBE_ERROR message (type 0x05).
- Subscribe
Ok - SUBSCRIBE_OK message (type 0x04).
- Subscribe
Update - SUBSCRIBE_UPDATE message (type 0x02).
- Subscribes
Blocked - SUBSCRIBES_BLOCKED message (type 0x1A).
- Track
Status - TRACK_STATUS message (type 0x0E).
- Track
Status Request - TRACK_STATUS_REQUEST message (type 0x0D).
- Unannounce
- UNANNOUNCE message (type 0x09).
- Unsubscribe
- UNSUBSCRIBE message (type 0x0A).
- Unsubscribe
Announces - UNSUBSCRIBE_ANNOUNCES message (type 0x14).
Enums§
- Control
Message - A decoded MoQT control message (draft-10).
- Fetch
Type - Fetch type for FETCH message (draft-10).
- Message
Type - Control message type IDs (draft-10).
Constants§
- SETUP_
VARINT_ 🔒PARAMETERS - The setup parameters this draft describes as carrying a single integer.
- VERSION_
VARINT_ 🔒PARAMETERS - The version-specific parameters this draft describes as carrying a single integer.
Functions§
- check_
discriminators 🔒 - Refuse a message whose optional fields disagree with the field that decides whether they are on the wire.
- check_
group_ 🔒order - Refuse a Group Order of 0x0 on the messages that forbid it.
- check_
no_ 🔒duplicate_ parameters - Refuse a parameter list that names the same Parameter Type twice.
- check_
parameter_ 🔒lengths - Refuse a parameter whose value is not the shape its type implies.
- check_
ranges 🔒 - Refuse a request whose range ends before it starts.
- check_
track_ 🔒status - Hold a TRACK_STATUS Status Code and the fields after it to Section 8.17.
- decode_
parameters 🔒 - Decode a version-specific parameter list, refusing a repeated type and a value whose length disagrees with its type.
- decode_
setup_ 🔒parameters - Decode a setup parameter list.
- encode_
parameters 🔒 - Encode a version-specific parameter list, refusing a repeated type and a value whose length disagrees with its type.
- encode_
setup_ 🔒parameters - Encode a setup parameter list, under the setup namespace’s implied lengths.
- read_
group_ 🔒order_ response - Read a Group Order from a message that must name a real order.