Expand description
§moq-lite: Media over QUIC Transport
moq-lite is a simplified implementation of the Media over QUIC (MoQ) transport protocol,
designed for real-time live media delivery with sub-second latency at scale.
It’s a fork of the IETF MoQ specification, optimized for practical deployment.
§Overview
MoQ is a pub/sub protocol built on top of QUIC that provides:
- Real-time latency: Sub-second delivery for live media
- Massive scale: CDN-like distribution via relay clustering
- Network efficiency: Leverages QUIC’s multiplexing and partial reliability
- Browser compatibility: Works with WebTransport for web applications
While designed for media, the transport is generic and can handle any live data streams.
Modules§
Structs§
- Broadcast
- Broadcast
Consumer - Subscribe to abitrary broadcast/tracks.
- Broadcast
Producer - Receive broadcast/track requests and return if we can fulfill them.
- Frame
- Frame
Consumer - Used to consume a frame’s worth of data in chunks.
- Frame
Producer - Used to write a frame’s worth of data in chunks.
- Group
- Group
Consumer - Consume a group, frame-by-frame.
- Group
Producer - Create a group, frame-by-frame.
- Origin
- Origin
Consumer - Consumes announced broadcasts matching against an optional prefix.
- Origin
Producer - Announces broadcasts to consumers over the network.
- Path
- A broadcast path that provides safe prefix matching operations.
- Produce
- A named tuple of a producer and consumer for convenience.
- Session
- Track
- Track
Consumer - A consumer for a track, used to read groups.
- Track
Producer - A producer for a track, used to create new groups.
Enums§
- Error
- A list of possible errors that can occur during the session.
Constants§
Traits§
- AsPath
- A trait for types that can be converted to a
Path. - Send
Sync Error
Type Aliases§
- Origin
Announce - A broadcast path and its associated consumer, or None if closed.
- Path
Owned - Result