Skip to main content

Module mp3

Module mp3 

Source
Expand description

MP3 (MPEG-1/2/2.5 Audio Layer III).

Audio carried verbatim: each frame is published whole. The header is parsed only for the catalog config (sample rate, channels); the audio is never decoded and there is no out-of-band configuration record. Import publishes raw MP3 frames to a moq broadcast.

Structs§

Config
Typed MP3 configuration parsed from an MPEG audio frame header.
Import
MP3 importer.

Enums§

Error
MP3 parsing errors.

Functions§

config
Build a catalog config from an MP3 frame header. Errors on a malformed or empty buffer.

Type Aliases§

Result
A result using this module’s error type.