RepositoryRustUSUnited States
cloudflare

cloudflare/moq-rs

Rust implementation of the IETF MoQ Transport protocol

191stars
72forks
49issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: moq

#1 Repository of the week

1
TINIX TRENDING·Topic: mediaoverquic

#1 Repository of the week

1
TINIX TRENDING·Topic: lowlatency

#1 Repository of the week

moq-rs

An implementation of the Media over QUIC Transport (MoQT) protocol for live media delivery over QUIC, as specified by the IETF MoQ working group.

This codebase was originally created by Luke Curley (@kixelated). Mike English (@englishm) contributed to early design and has maintained this IETF-aligned fork. The project is now maintained by Cloudflare. The implementation targets draft-ietf-moq-transport-14.

Protocol Support

The main branch targets draft-14 of the MoQT specification. For draft-07 compatibility (used in Cloudflare's current production deployment), see the draft-ietf-moq-transport-07 branch.

What's Included

This repository provides:

  • moq-transport: A complete MoQT protocol library implementation
  • moq-relay-ietf: A production-ready relay server
  • Sample clients: An fMP4 publisher (moq-pub) and a demonstration clock application (moq-clock-ietf)

Protocol Feature Support

Supported:

  • CLIENT_SETUP / SERVER_SETUP
  • PUBLISH_NAMESPACE
  • SUBSCRIBE
  • WebTransport and raw QUIC transport layers
  • Both stream ("subgroup") and datagram delivery modes

Not Supported:

  • SUBSCRIBE_NAMESPACE (Soon)
  • FETCH (Not Soon)

Interoperability

A public relay instance running the latest main branch is available for interop testing at:

https://interop-relay.cloudflare.mediaoverquic.com:443

As an implementation targeting the IETF specification, this codebase should be compatible with other implementations targeting the same draft version. See the moq-wg/moq-transport wiki for a list of other implementations.

For streaming format compatibility:

  • video-dev/moq-js: A TypeScript player implementation compatible with moq-pub's fMP4 output. Check draft version compatibility when selecting branches.
  • gst-moq-pub: A GStreamer publisher plugin built on moq-pub, also compatible with moq-js.

Components

This repository contains several crates:

  • moq-transport: A media-agnostic library implementing the core MoQT protocol.
    • moq-native-ietf: QUIC and TLS utilities for native transport.
  • moq-relay-ietf: A relay server that forwards content from publishers to subscribers, with caching and deduplication.
    • moq-api: An HTTP API server for origin discovery and relay coordination, backed by Redis.
  • moq-pub: A publisher client that broadcasts fMP4 streams over MoQT.
    • moq-catalog: Catalog format handling.
    • moq-sub: A subscriber client for consuming MoQT streams.
  • moq-clock-ietf: A simple time publisher/subscriber demonstrating non-media use cases.

Development

Typical development workflow:

  1. Start a local relay in one terminal:

    ./dev/relay
    
  2. Start a publisher in another terminal:

    ./dev/pub
    

    Add --tls-disable-verify if you prefer not to install local certificates.

  3. For playback, clone and run moq-js locally, then open it in a browser pointed at your local relay.

See the dev helper scripts for more options and workflows.

Usage

For detailed usage information, see the README in each crate directory:

The moq-transport crate is also published on crates.io with API documentation.

License

Licensed under either:

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
moq-dev/moq

Media over QUIC: Real-time latency at massive scale

1.6k
Nov 30, 2026
RepositoryRust
n0-computer/iroh-live

media livestreaming over iroh

150
Nov 26, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

379.9k
Sep 15, 2026
RepositoryTypeScript
nilbuild/developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.

373.1k
Dec 1, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026