Skip to main content

Live Demo

Try the interactive demo to see Moq in action

What is Moq?

Media over QUIC (Moq) is a next-generation live media protocol that provides real-time latency at massive scale. Built using modern web technologies, Moq delivers WebRTC-like latency without the constraints of WebRTC. The core networking is delegated to a QUIC library but the rest is in application-space, giving you full control over your media pipeline.

Quick Start

Get up and running in minutes with our quick start guide

Core Concepts

Learn about the layered architecture and protocol design

Rust SDK

Build native applications with our Rust libraries

TypeScript SDK

Create web applications with our TypeScript packages

Key Features

Real-time Latency

Uses QUIC for prioritization and partial reliability to achieve WebRTC-like latency

Massive Scale

Designed for fan-out with CDN support and cross-region clustering

Modern Web

Built on WebTransport, WebCodecs, and WebAudio APIs

Multi-language

Libraries for both Rust (native) and TypeScript (web)

Generic Protocol

Works with any live data, not just media

Layered Architecture

Separates transport (moq-lite) from media logic (hang)

Architecture Overview

Moq is designed as a layered protocol stack where the CDN operates on generic rules without understanding your application, media codecs, or available tracks.
┌─────────────────┐
│   Application   │   Your business logic
│                 │   - authentication, non-media tracks
├─────────────────┤
│      hang       │   Media-specific encoding/streaming
│                 │   - codecs, containers, catalog
├─────────────────┤
│    moq-lite     │   Generic pub/sub transport
│                 │   - broadcasts, tracks, groups, frames
├─────────────────┤
│  WebTransport   │   Browser-compatible QUIC
│      QUIC       │   - HTTP/3 handshake, multiplexing
└─────────────────┘

Learn More About the Architecture

Deep dive into the protocol layers and design philosophy

Installation

Install Moq for Rust or TypeScript

Publishing

Learn how to publish media to Moq broadcasts

Watching

Subscribe to and render Moq broadcasts

Relay Setup

Deploy your own Moq relay server

Build docs developers (and LLMs) love