GitHub: moqtail/moqtail
Maintainers: Zafer Gürel, Ali C. Begen
Draft support: draft-18, moving to draft-20/22 — the July–August alignment sprint carried the Rust and TypeScript stacks onto draft-18 (ALPN moqt-18, Extension Headers → Properties, single unified SETUP, split delivery timeouts, control-message-type table + LOC property ids renumbered, draft-18 constants + varint conformance vectors), and at the Sep-2 draft-18 interop hackathon a live draft-18 relay at relay18.moqtail.dev was conformance-tested against moxygen’s suite, climbing 4/17 → 53/59 in one evening as Gürel landed live fixes (see Recent Highlights). During Seattle-interim week (Oct-13) a ~15-PR batch (#422–#436) landed the draft-20/22 FETCH + range-filter wire (relay applies range filters, the FETCH range is carried in LOCATION_FILTER, FILL_PARAMETERS/INCLUDE_PROPERTIES encoding, descending-order fetch serving), and moqtail registered a draft-22 relay in the interop-runner (runner #148) while keeping a moqtail-draft-18 endpoint for the nightly target. main retains the draft-16 baseline (full draft-16 compliance landed May 4 2026); moqtail-ts continues drawing down its ~20-issue API-break backlog (Kerem Bekmez)
Overview
MOQ Transport protocol libraries for publisher, subscriber, and relay components. Features real-time, live, and on-demand demo applications using LOC, CMSF and (since Nov 2026) LOCMAF formats, with an ABR controller for adaptive bitrate. Libraries are published as moqtail-rs (Rust) and moqtail-ts (TypeScript).
Components
- Relay — public relays at
relay.moqtail.dev(draft-14) andrelay18.moqtail.dev(draft-18, online July 23 2026 for IETF-126 conformance testing, with a public Grafana dashboard; see interop-endpoints) - Publisher — media publishing library
- Subscriber — media subscription library
- Demo apps — real-time, live, and on-demand examples, plus
apps/client-js(browser subscriber) andapps/meet(WebRTC-over-MoQ video-conferencing demo) - Transports — WebTransport and raw QUIC (raw-QUIC support added June 2026, PR #204 / #205)
Draft support
draft-16 on main — full draft-ietf-moq-transport-16 compliance landed May 4 2026 via the umbrella PR #145 (open since March 6, +17k/−11k). draft-14 documentation was removed the same day, making moqtail a single-draft project. The draft-16 work brought:
- ALPN-based ClientSetup/ServerSetup negotiation
- typed MessageParameter control parameters (replacing VersionParameter), plus Track and Object Extensions
- a unified request-ID registry correlating REQUEST_OK / REQUEST_ERROR / REQUEST_UPDATE with their source requests
- the finalized FETCH-object wire format (bitmask serialization flags, delta encoding, end-of-range markers)
draft-17 features shipped ahead of full adoption:
- the §7.2 relay scheduling algorithm (PR #178, Apr 30) — relay priorities computed from subscriber and publisher priorities; first moqtail merge of a draft-17-specific feature
- the SUBSCRIBE_NAMESPACE / SUBSCRIBE_TRACKS stream split (PR #180, May 1) — merged ~10h before upstream moq-transport PR #1542, the first implementation to ship the split design
Recent Highlights
Day-by-day PR/issue history lives in the wiki log; this section keeps only durable milestones.
- A full browser LOC playout pipeline, and relay@0.19.0 (2026-11-18→20). The relay train tagged
relay@0.19.0(+relay-api@0.19.0,relay-hooks@0.19.0) on Nov-18, rolling up the mid-November relay-robustness work (live-seeking limited to the accessible window #492, stop live catch-up after a manual seek-back #493, echo only the SSTS/cluster setup options the client sent #495). Then a ~10-PR wave on Nov-20 built out a browser-side LOC media playout/rendering pipeline inmoqtail-ts: a playout sink (#501, +2107/−126), a WebCodecs transform (#500, +1338/−41), WebCodecs + playout engines run in a Worker (#504, +1856/−180), a LOC switching set for alternate renditions (#499), transform-chain loading so a pad pulls only the transforms it needs to reach a sink (#502), smoothed, pitch-preserving audio playout (#503), a canvas rendering option for LOC (#506), and acatchup with the loc-05 draftalignment (#498) — on a refactor that passes aPacketthrough the chain (#497). This gives moqtail’s TypeScript client a complete LOC decode→playout path (pads/transforms/sinks, WebCodecs, Worker isolation, canvas output) to go with the ABR controller landed Nov-14. Still open: a MoQ-over-WebSocket (QMux) client path for peers that can’t use QUIC (#496) and a[ci] releasePR (#507) preparing the next train. - LOCMAF support, an ABR controller, and a relay observability stack (2026-11-14, on
main; no new tag — relay@0.18.0 stands). moqtail’s densest feature day in weeks: LOCMAF support (#479, +1310/−33) — making moqtail a fourth independent LOCMAF implementation, landing a day after the on-list “keep LOCMAF in the IETF” argument that cites the existing multi-implementation spec; an ABR (adaptive-bitrate) controller (#480, +1993/−85), building on moqtail’s probe-track / fast-switching design work; and a relay observability API + dashboard + MCP server (#477, +20350/−190) complementing the Grafana dashboard. Alongside, clients now react to GOAWAY (#476) and a fix batch came straight from the moq-web draft-22 interop run — relay fixes (#483), accept FILL_PARAMETERS without a parameter count (#485), report End Of Track for cached FETCHes of an ended track (#481), and send TRACK_NAMESPACE_PREFIX without a length prefix (#482). - qlog instrumentation added to relay and client (2026-11-12→13, on
main; no new tag — relay@0.18.0 stands). A three-PR wave gives moqtail structured qlog observability: qlog traces of control messages on both relay and client (#473, +850/−74), qlog events for data-stream headers plus a qlog summary script (#474, +305/−5), and a relay fix that names qlog files by connection id so concurrent connections never overwrite one (#475). Landed alongside a relay fix to honour the requested FETCH priority (#472). This is moqtail’s first substantial qlog tooling — useful for interop debugging and the runner’s pcap/qlog ambitions. - relay@0.18.0 adds clustering and a config file; a
room-serverpackage appears (2026-11-11, release #461). The release train tags the first-publishedroom-server@0.1.0component alongside relay@0.18.0 and lands two durable relay capabilities: clustering (#467) and loading relay configuration from a config file (#466), plus a relay hot-path performance pass (#462) and a TypeScript datagram fix that falls back tocreateWritable()when a directwritableis missing (#465). Clustering + config-file deployment and the standalone room-server move moqtail from a single-relay demo toward a deployable multi-node relay. - relay@0.17.0: FETCH served from cache, and LOC property IDs corrected (2026-11-02; with moqtail-rs@0.17.0, moqtail@0.15.0, client@0.17.0). #444 (Gürel) serves FETCH from the relay cache when the cache accounts for every Object in a group, and fetches only the rest upstream. It also records which Objects are known not to exist and lets concurrent FETCHes share one upstream FETCH. #459 fixed #453, reported from Wowza: moqtail-ts sent draft-18-era LOC property IDs while negotiating moqt-22. It moved to the LOC registry values (TIMESTAMP 0x06→0x10, VIDEO_FRAME_MARKING 0x0A→0x09, add AUDIO_CONFIG 0x0F), made frame marking the RFC 9626 flag byte, and switched timestamps to µs. That is a wire break between old and new
meetclients. - First tagged release train since July (2026-10-30):
relay@0.16.0+moqtail-rs@0.16.0+moqtail@0.14.0finally tag the July→October relay work (the draft-20/22 FETCH + range-filter wire above, the DoS/resilience batches, and the lifecycle fixes) — the relay had been running untagged atrelay@0.14.1since July. Shipped alongside merge #451 (lminiero: return the track alias in a subscribe response). A new open #452 (kkroo) adds an MMTP track receiver, tracking the MMT-over-MoQ interest. - Draft-20/22 FETCH + range-filter wire landed during the Seattle interim (2026-10-13): a concentrated ~15-PR batch (#422–#436, all Zafer Gürel) moved the relay onto the newer filter/FETCH wire — relay applies range filters (#422, +690/−36), the FETCH range is carried in
LOCATION_FILTER(#424, +626/−326), anINCLUDE_PROPERTIESparameter (#425), subscription parameters on PUBLISH and SUBSCRIBE_TRACKS (#427), plus a run of relay FETCH-ordering / fill-routing / race fixes (#429–#436). moqtail then registered a draft-22 relay in the interop-runner (runner #148, Oct-13), splitting its existing draft-18 relay out as a separatemoqtail-draft-18endpoint so it keeps the nightly target while exercising draft-22. This batch supersedes the earlier in-flight 419 location-/range-filter PRs. - Legacy
warpnaming retired in favour of CMSF (2026-09-24) — a single commit, “rename warp to cmsf and make catalog version string”, removed the last of the oldwarpnaming from the catalog path and changed the catalog version field from a numeric to a string. Both are small compatibility breaks for any peer still emitting the previous form; the demo applications now speak CMSF under its own name throughout. - Client-side namespace discovery completed (2026-09-20):
SUBSCRIBE_NAMESPACEwas added andSUBSCRIBE_TRACKSfinished on the client (#390), alongside correct handling of empty FETCH responses (#385) — closing the client half of the stream split the Rust/TS stacks landed back in May. No release:relay@0.14.1(July) still stands. - Draft-18 relay conformance jump at the Sep-2 interop hackathon: Zafer Gürel brought a fresh draft-18 relay online at
relay18.moqtail.devand registered it in the interop-runner (runner #121, merged Sep-2). Against afrind’s moxygen conformance script it ran 4/17 → 38/59 → 53/59 over the evening as afrind and Aman Sharma surfaced relay bugs and Zafer landed live fixes: hold PUBLISH_DONE until its data streams have arrived (#382) — the relay had forwarded PUBLISH_DONE with a low outstanding-stream count, tripping the client’s “delivery semantics not preserved”; a concurrent-PUBLISH track-record race (check-then-inserthas_track/add_track) fixed by take-or-create in one step (#383) plus track-locking insubscribe_handler(#381); and a broad interop-fix batch (#380). Bugs still open at day’s end: DUPLICATE_SUBSCRIPTION wrongly returned after a cancelled subscription, REQUEST_ERROR sent on the control stream instead of the request’s bidi stream, REQUEST_UPDATE ignored for PUBLISH, FIN-instead-of-reset on a mid-subgroup upstream reset, and no FETCH prefix routing (Track Not Found). Steven Riedl’s stock-moq-devmoq-netclient scored 6/6 againstrelay18, confirming the relay is clean for the base pub/sub flows. No new relay release —relay@0.14.1stands. Theapps/meetWebRTC-over-MoQ demo also reached draft-18 (#379). moqt://URI scheme shipped in the JS client (2026-08-19): PR #369 “feat(client-js): JS-2 —moqt://” (+209/−16, closes issue #278) makes moqtail one of the first implementations to consume themoqt://URI scheme the WG has been tightening in moq-transport (RFC 7595 §3.7 security text, host-resolution semantics, and the Aug-21 decision to exclude the query component from MOQT scope). Landed alongside a TypeScript stream-reset path fix (#370, closes #276). Relay still atrelay@0.14.1; sender-side track switching is in flight — first as #374 (+1759/−34), then advanced Sep-8 to #386 “feat: switch-from” (+4299/−2821, OPEN), which replaces moqtail’s existing SWITCH-message implementation with the SSTSSWITCH_FROMparameter design (tracking transport #1674) — the first implementation to move from the old switching message onto the parameter form, and interim-23-relevant (FORWARD-elimination / SWITCH_FROM were on that agenda).- moqtail-ts draft-18 alignment (Aug 2026): after the July sprint aligned the Rust side, the TypeScript library (
libs/moqtail-ts) began landing the same draft-18 wire changes on Aug 10 — all Kerem Bekmez: CLIENT_SETUP/SERVER_SETUP collapsed into a single SETUP (PR #334, +506/−434), the control streams reworked per draft-18 (PR #335, +191/−70), and request types moved onto their own bidirectional stream (PR #336, +718/−124) — the moqtail-ts counterpart of the RS-side 297 work, drawing down the ~20-issue moqtail-ts API-break backlog; the sprint continued Aug 11 with PR #355 (“feat/ts10-11”, +657/−94, closes 266). - Relay conformance/hardening sprint (Aug 11 2026): the relay’s runtime correctness got a concentrated ~11-PR pass, all Zafer Gürel — build the relay’s own SETUP parameters instead of forwarding them upstream (#359, +307/−100), end a namespace announcement when its request stream ends (#358), deduplicate Objects + raise Forward State (#356), wait for a track alias on notification (#354), reset a cancelled subscription’s streams (#353), report the true
LARGEST_OBJECTdownstream (#352), reject a duplicate SUBSCRIBE withDUPLICATE_SUBSCRIPTION(#351), apply forward state + subscription filter to datagrams (#350), pin the FETCH object layout to the wire (#349), and a subscribe-error-after-accept fix (#348). Zafer also opened imquic #35 (fix FETCH object parsing of subgroup flags + object status), cross-pollinating the FETCH-layout work into Miniero’s C library. No new relay release — relay@0.14.1 stands. - draft-18 alignment sprint (July 2026): after months at draft-16, moqtail began converging on the interop-runner’s draft-18 target. Day 1 (July 15): ALPN bumped to
moqt-18(PR #280) and Extension Headers renamed to Properties (PR #281, the -18/-19 terminology). Day 2 (July 16) landed the bulk of the wire changes: CLIENT_SETUP/SERVER_SETUP collapsed into a single SETUP (PR #286), delivery timeouts split into object/subgroup + rendezvous/fill with param numbers aligned (PR #287), the control-message-type table moved to draft-18 (PR #284), LOC property ids renumbered (PR #285, pairing with loc #25), plus draft-18 constants + varint conformance vectors shared for cross-impl testing (PR #283). Day 3 (July 17) closed the wire work: the FIRST_OBJECT SUBGROUP_HEADER bit (PR #290, MERGED) and the moqtail-ts control-message-type table (PR #291, Kerem Bekmez, MERGED). Then a large control-plane-restructure wave landed over the July-19/20 Hackathon weekend — ~11 PRs (#292–#302) working down the RS-/CL-/RL- task list (issues #230–#242): request types moved onto their own bidirectional streams (#297), the control plane onto a pair of uni streams (#294), PUBLISH_OK folded into REQUEST_OK + Track Properties added (#299), MAX_REQUEST_ID / REQUESTS_BLOCKED removed (#298), Request ID removed from response messages (#302), REQUEST_UPDATE rejection/failure handling (#301), stream reset codes + reset path (#300), GREASE + reserved Property ranges (#296),moqt://as the unified selectable-transport scheme (#295), Mandatory Track Properties enforced (0x4000–0x7FFF) (#293), and delta-encoded Group/Object IDs in FETCH responses (#292). The sprint continued through July 20 (#303–#308): the SUBSCRIBE_NAMESPACE / SUBSCRIBE_TRACKS split (#305), removal of the cancel/teardown message family (#303, −857 LOC), zero-element track namespaces (#306), and the PUBLISH_BLOCKED message (#308, merged July 21 — see the relay-resilience batch below). Themoqtail-tsAPI break —moqt://URL scheme, the SUBSCRIBE_NAMESPACE / SUBSCRIBE_TRACKS split, PUBLISH_BLOCKED, GREASE — is tracked in a ~20-issue backlog, with Kerem Bekmez now a second active contributor. Makes moqtail a second non-moq-dev implementation actively converging on the runner’s target. - Relay-resilience / DoS-protection batch (July 21): with the wire format aligned, Zafer Gürel built out the relay’s operational surface from the RL-* task list — the PUBLISH_BLOCKED message (#308, +151/−11), GOAWAY Request ID + Timeout and the REDIRECT structure (#310, +300/−66), EXCESSIVE_LOAD shedding on request streams (#311), graceful SIGTERM drain (send GOAWAY + reject new requests, #312, RL-5), TOO_FAR_BEHIND reset of slow subscribers (#313), and SUBSCRIBE precedence over SUBSCRIBE_TRACKS (#314) — i.e. the graceful-shutdown, load-management, and DoS-protection surface a relay needs beyond interop conformance. A second batch landed July 22 (eight more PRs, all Zafer Gürel): standalone FETCH range validation + End Location clamp (#317), joining-fetch forward-state semantics (RL-7a) (#318), FETCH Stream Count + prior-gap semantics (RL-7b) (#319), rejecting reserved namespaces
.session/.locally (RS-17a) (#324), PUBLISH_BLOCKED on stream exhaustion (RL-2) (#326), forwarding SUBSCRIBE_TRACKS PUBLISH on its own bidi stream (#327), a subgroup-reopen test (RS-17b, #325), and moqtail-rs EndGroup-delta / datagram status+properties / padding (#320). GOAWAY per-request migration / REDIRECT retry (#309) remains open. A third, lifecycle-correctness batch landed July 23 (Zafer Gürel): remove track when the last subscriber leaves (#330, +26/−8) — freeing per-track relay state on the final unsubscribe — plus per-bidi control-message logging (#329) and a comment cleanup (#328); a July-24 follow-up fixed a resubscribe regression the #330 change introduced (#331, fix relay resubscribe after last subscriber). Motivating this: at IETF-126 (July 22) afrind began running his 41-test draft-18 data-plane conformance suite against relays; Zafer Gürel said moqtail is “working on it, a few issues left,” then brought a public draft-18 relay online atrelay18.moqtail.devJuly 23 (public Grafana dashboard) and put it forward for testing — in Jordi Cenzano’smoq-encoder-playermatrix it now carries full video+audio. No new release — relay@0.14.1 stands. - Wire-correctness fixes (interop-relevant): Key-Value-Pair parameters, previously serialized as absolute values, are now delta-encoded as the draft mandates (PR #208); subgroup-header type detection moved to bitmask dispatch (PR #211). Both target cross-version mismatches that surface as interop failures.
- Relay conformance hardening: FETCH_OK is now sent for all non-empty fetch ranges (PR #199), and late subscribers joining a track mid-subgroup receive the in-progress subgroup from its start instead of silently dropping objects (PR #201).
- Upstream FETCH on cache miss: the relay now sends FETCHes upstream to the publisher for groups missing from its local cache — a contributor-led capability landed via sharmafb’s [1/n]–[3/n] series (PR #186 / #187 / #188) and completed in PR #193.
- Per-subscription early-discard:
setEarlyDiscardPolicy(cancel slow subgroup streams after a timeout) can be set per subscription rather than globally (PR #189). - Widening contributor base: beyond maintainers Zafer Gürel and Ali C. Begen, external contributors now land code — sharmafb / Aman Sharma (also a moq-transport editor, contributing FETCH-priority test tooling), davemevans / David Evans (Firefox private-CA test docs), Kerem Bekmez, and thexeos.
Known Issues
- Reported sending AUTHORITY param back in server setup (Feb 2026, noted by sandarsh)
- Empty extensionHeaders bug reported by Daiki Matsui (moqtail#147)
Interop
- Draft-22 relay registered in the interop-runner (runner #148, Oct-13 2026) — the
moqtailendpoint is now draft-22, with a separatemoqtail-draft-18endpoint retained for the nightly draft-18 target - Live draft-18 relay at
relay18.moqtail.dev, registered in the interop-runner (runner #121); scored 53/59 on moxygen’s draft-18 conformance suite at the Sep-2 2026 hackathon (see Recent Highlights) - Registered in interop-runner matrix
- Successfully tested with moq-rs and moxygen (Feb 2026 Boulder hackathon)
- Published namespace, subscribed to tracks, and received objects with both relays
- FETCH working with moxygen
Related
- interop-runner - Automated test framework
- interop-endpoints - Public relay endpoints
- interop-status - Cross-implementation testing