Native audio encoding and decoding for Media over QUIC.
Sits on top of [moq_mux] and [hang] and adds the missing piece
for native callers: a Rust-native Opus codec implementation that
turns raw PCM into the bitstreams moq_mux::codec::opus already
knows how to ingest (and vice versa for decode).
- [
AudioFormat] mirrors WebCodecsAudioData.format. The helpers convert between any supported layout and the interleavedf32representation libopus expects. - [
Frame] is a thin owned buffer: just a timestamp and a payload. PCM layout lives on the [Encoder] / [Decoder] via [EncoderInput] / [EncoderOutput] / [DecoderOutput], not on each frame, so callers can't drift between calls. - [
Encoder] / [Decoder] are the Opus codec types. - [
AudioProducer] / [AudioConsumer] wire those together withmoq_mux::containerand thehangcatalog.