Overview of Rust Core Libraries
mainThe MoQ Rust implementation provides the reference implementation of the protocol. Key core libraries include:
- moq-net: The networking layer. Negotiates either
moq-liteor fullmoq-transport. Handles broadcasts, tracks, groups, frames, QUIC stream management, and backpressure. - hang: A media-specific encoding/streaming library built on
moq-net. Includes a catalog for track discovery and supports formats like H.264/265, VP8/9, AV1, AAC, and Opus. - moq-mux: Media muxers/demuxers for importing formats like fMP4/CMAF, MPEG-TS, and FLV into MoQ.
- moq-token: JWT authentication library for HMAC and RSA/ECDSA signing and path-based authorization.
- web-transport: QUIC and WebTransport implementation (based on Quinn).
- moq-native: Helpers for configuring Quinn QUIC endpoints and TLS.