Skip to content

MoQT draft-20 Control Message Types

MoQT draft-20 defines 19 control message types and marks 6 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-20 text.

Added

  • 0x22 PUBLISH_STATE_NOTIFY
Type Message Stream Defined in Test vectors
0x01 RESERVED — SETUP for version 00
0x40 RESERVED — CLIENT_SETUP for <= 10
0x41 RESERVED — SERVER_SETUP for <= 10
0x20 RESERVED — CLIENT_SETUP in <= 16
0x21 RESERVED — SERVER_SETUP in <= 16
0x2F00 SETUP Control §10.3 13
0x10 GOAWAY Control, Request §10.4 6
0x3 SUBSCRIBE Request, First §10.7 36
0x4 SUBSCRIBE_OK Request §10.8 11
0x22 PUBLISH_STATE_NOTIFY Request §10.10 9
0x1D PUBLISH Request, First §10.11 16
0x1E RESERVED — PUBLISH_OK in <= 17 Request
0xB PUBLISH_DONE Request §10.12 13
0x16 FETCH Request, First §10.13 24
0x18 FETCH_OK Request §10.14 7
0xD TRACK_STATUS Request, First §10.15 4
0x6 PUBLISH_NAMESPACE Request, First §10.16 4
0x50 SUBSCRIBE_NAMESPACE Request, First §10.19 5
0x51 SUBSCRIBE_TRACKS Request, First §10.20 10
0x8 NAMESPACE Request §10.17 4
0xE NAMESPACE_DONE Request §10.18 3
0xF PUBLISH_SKIPPED Request §10.21 4
0x2 REQUEST_UPDATE Request §10.9 15
0x7 REQUEST_OK Request §10.5 20
0x5 REQUEST_ERROR Request §10.6 24

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

The Stream column is the draft's own: Control for messages on the session control stream, Request for messages on a per-request bidirectional stream, and First for a message that must open one.

Cross-check against the test-vector corpus

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

moqtap publishes 228 encode/decode vectors for draft-20 across 20 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 19 assigned types have vectors.

Neither source has a message type the other lacks.

The table is parsed from table-5 of draft-ietf-moq-transport-20, in the frozen rendering this site keeps at spec-sources/draft-20.html. That file hashes to 34c65c01b9420f45a3b95d0618b8d0bcde80b7b8b6295f43fd4bc1c8bca85c83, which is the same source_sha256 the moqtap codec's committed registry extraction records for draft-20 — 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-20 error codes · Read draft-20 section by section

moqtap covers drafts 07 through 20.

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