Expand description
Draft-09 control message encoding and decoding.
Wire format is identical to draft-08 except filter_type=1
(NextGroupStart/LatestGroup) is removed from SUBSCRIBE.
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-09).
- Fetch
Type - Fetch type for FETCH message (draft-09).
- Message
Type - Control message type IDs (draft-09).
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 7.24.
- 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.