Skip to content

MoQT draft-07 Control Message Types

MoQT draft-07 defines 25 control message types and marks 0 code points reserved — 25 rows in all. The type code is the first field of every control message, so this is the table a decoder dispatches on.

The rows come from the draft's own Control Messages table, not from a hand-kept list. For the field layout of a message, follow its section link into the draft-07 text.

draft-07 is the earliest draft moqtap supports, so there is no previous draft here to compare it with. Start at draft-08 to follow the changes forward.

Type Message Defined in Test vectors
0x2 SUBSCRIBE_UPDATE §6.5 4
0x3 SUBSCRIBE §6.4 9
0x4 SUBSCRIBE_OK §6.15 5
0x5 SUBSCRIBE_ERROR §6.16 7
0x6 ANNOUNCE §6.21 3
0x7 ANNOUNCE_OK §6.9 3
0x8 ANNOUNCE_ERROR §6.10 3
0x9 UNANNOUNCE §6.22 2
0xA UNSUBSCRIBE §6.6 3
0xB SUBSCRIBE_DONE §6.19 8
0xC ANNOUNCE_CANCEL §6.11 2
0xD TRACK_STATUS_REQUEST §6.12 2
0xE TRACK_STATUS §6.23 6
0x10 GOAWAY §6.3 4
0x11 SUBSCRIBE_ANNOUNCES §6.13 3
0x12 SUBSCRIBE_ANNOUNCES_OK §6.24 2
0x13 SUBSCRIBE_ANNOUNCES_ERROR §6.25 3
0x14 UNSUBSCRIBE_ANNOUNCES §6.14 2
0x15 MAX_SUBSCRIBE_ID §6.20 3
0x16 FETCH §6.7 4
0x17 FETCH_CANCEL §6.8 2
0x18 FETCH_OK §6.17 3
0x19 FETCH_ERROR §6.18 4
0x40 CLIENT_SETUP §6.2 6
0x41 SERVER_SETUP §6.2 3

25 rows from the Control Messages table of draft-07. The test-vector column counts the encode/decode vectors moqtap publishes for that type; it is a cross-check, not part of the registry.

Cross-check against the test-vector corpus

Section titled “Cross-check against the test-vector corpus”

moqtap publishes 96 encode/decode vectors for draft-07 across 25 message types, and all three moqtap implementations validate against them. Comparing that corpus with the draft's table is an independent check on this page: all 25 assigned types have vectors.

Neither source has a message type the other lacks.

The table is parsed from table-4 of draft-ietf-moq-transport-07, in the frozen rendering this site keeps at spec-sources/draft-07.html. That file hashes to 53eb52578fca0c2415fff80678a9d2def9dfc47bb5c2c669c1c1313584ba3aa5, which is the same source_sha256 the moqtap codec's committed registry extraction records for draft-07 — the two inputs are provably the same document.

Control message types are not an IANA registry in the drafts, so they are not part of the codec's registry extraction; the table id above is taken from that extraction's record of the tables it deliberately excluded, which is how this page finds the right table without guessing.

draft-07 error codes · Read draft-07 section by section

moqtap covers drafts 07 through 20.

All MoQT control message types, draft by draft · How control messages work