Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/moqtail/moqtail/llms.txt

Use this file to discover all available pages before exploring further.

Real-Time Media Streaming Over QUIC

Draft 14-compliant MOQT protocol libraries for TypeScript and Rust. Build live streaming applications with WebTransport and modern web technologies.

Key Features

WebTransport Ready

Built on WebTransport for next-generation transport performance with low latency and high throughput

Publisher & Subscriber

Flexible roles for content creation and consumption with track-based content organization

Live & On-Demand

Support for live streaming with Subscribe and on-demand content with Fetch operations

TypeScript & Rust

Full implementations in TypeScript for web applications and Rust for high-performance servers

Quick Start

1

Install the library

Get started with Moqtail in your TypeScript project
npm install moqtail
2

Initialize the client

Create a MOQtail client and connect to a relay server
import { MOQtailClient } from 'moqtail/client'

const client = await MOQtailClient.new(clientSetup, webTransport)
3

Start publishing or subscribing

Begin streaming content or consuming streams from publishers
// Publish a track
client.addOrUpdateTrack(myTrack)
await client.publishNamespace(namespace)

// Or subscribe to content
const stream = await client.subscribe(subscribe)

Use Cases

Live Video Streaming

Real-time video conferencing and live broadcasting with adaptive bitrate streaming

Gaming & Metaverse

Low-latency game streaming and synchronized multi-user virtual experiences

IoT & Telemetry

Real-time sensor data streaming and remote device monitoring

Live Sports

Ultra-low latency sports broadcasting with frame-accurate synchronization

Remote Desktop

High-quality remote desktop streaming with minimal input lag

VoD Delivery

On-demand content delivery with efficient caching and fetching

What is MOQT?

Media over QUIC Transport (MOQT) is a protocol designed for delivering media over QUIC connections. It enables efficient streaming of live and on-demand content by combining the reliability of QUIC with intelligent stream management for media delivery.

Core Concepts

Learn about tracks, objects, groups, and the MOQT protocol fundamentals

Publisher Guide

Start publishing content with live, static, or hybrid content sources

Subscriber Guide

Consume content with Subscribe and Fetch operations

API Reference

Explore the complete TypeScript and Rust API documentation

Community & Support

GitHub Repository

View source code, report issues, and contribute to the project

Relay Server

Deploy your own relay server for production environments