Expand description
§hang: Media over QUIC Library
hang
is a media-specific library built on top of moq_lite
, providing
high-level components for real-time audio and video streaming over QUIC.
It implements media containers, codecs, and streaming protocols optimized
for real-time live broadcasting.
§Overview
While moq_lite
provides the generic transport layer, hang
adds:
- Catalog: A list of available tracks and their metadata.
- Codec support: Integration with common audio/video codecs
- Container: A simple timestamped container format.
- CMAF Import: Convert a fMP4 file into a hang broadcast.
Re-exports§
pub use catalog::Catalog;
pub use catalog::CatalogConsumer;
pub use catalog::CatalogProducer;
pub use moq_lite;
Modules§
Structs§
- Frame
- A media frame with a timestamp and codec-specific payload.
- Group
Consumer - A consumer for a group of frames.
- Location
Consumer - Location
Producer - Position
- Track
Consumer - A consumer for hang-formatted media tracks.
- Track
Producer - A producer for media tracks.
Enums§
- Error
- Error types for the hang media library.