Overview
gomoqt is a Media over QUIC (MoQ) implementation for Go servers and clients, with a
TypeScript client for the browser that speaks the same protocol and API. Today it is based
on MoQ Lite (draft-06).
Go packages
Section titled “Go packages”One module, github.com/qumo-dev/gomoqt (install):
| Import path | What it is for | Guide | Reference |
|---|---|---|---|
github.com/qumo-dev/gomoqt/moqt |
Servers, clients (Dialer), sessions, tracks, groups and frames: the protocol itself |
MoQ | pkg.go.dev |
github.com/qumo-dev/gomoqt/msf |
MOQT Streaming Format: catalogs, catalog deltas and media timelines on top of moqt |
MSF | pkg.go.dev |
github.com/qumo-dev/gomoqt/transport |
The stream and connection interfaces a QUIC or WebTransport implementation plugs into | pkg.go.dev |
TypeScript package
Section titled “TypeScript package”One package on JSR, @qumo/moq (install), for the browser and Deno:
| Import | What it is for | Guide | Reference |
|---|---|---|---|
@qumo/moq |
The client: sessions, tracks, groups and frames, over WebTransport or QMux over WebSocket | MoQ | JSR |
@qumo/moq/msf |
MSF, matching the Go msf package |
MSF | JSR |
Examples
Section titled “Examples”Runnable code lives in the repository: examples/
(broadcast, echo, native QUIC) and cmd/interop,
the suite that keeps the Go and TypeScript implementations in step.
How they fit together
Section titled “How they fit together”A Go program runs a moqt.Server. Browsers connect to it with @qumo/moq over
WebTransport, or QMux over WebSocket where WebTransport is missing; Go programs connect
with a moqt.Dialer, over native QUIC as well. Publishers announce broadcasts and write
tracks; subscribers discover and subscribe to them. When the media needs describing
(codecs, renditions, timing), msf and @qumo/moq/msf add a catalog track beside it.
Where to start
Section titled “Where to start”- A Go server or client: Install for Go, then MoQ.
- A web app: Install for the browser.
- See it run first: Demo.
Feedback
Section titled “Feedback”Found a mistake or a typo? Open an issue or a pull request on GitHub. Questions are welcome in GitHub Discussions or on the qumo community Discord; see Community and contact for every channel.