moq-audio 0.0.10

Native audio encoding/decoding for Media over QUIC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Subscribe to an encoded audio track and decode it to raw PCM.
//!
//! The decode counterpart to [`encode`](crate::encode), and the mirror of
//! `moq-video`'s [`decode`](https://docs.rs/moq-video) module.
//!
//! Entry points, high to low level:
//! - [`Consumer`] subscribes to a track and hands back decoded [`Frame`](crate::Frame)s.
//! - [`Decoder`] decodes packets you supply (bring your own payloads).
//!
//! [`Config`] configures both: it declares the PCM layout to emit, since the
//! codec's own shape comes from the catalog.

mod consumer;
mod decoder;

pub use consumer::Consumer;
pub use decoder::{Config, Decoder};