Expand description
RFC 2198 redundant audio as a client’s microphone sends it: where each block of a payload
sits, before anything is decoded. Nothing here reaches outside the module, so a fuzz build
(fuzz/) compiles it on its own.
Constants§
- RED_
MAX_ 🔒DISTANCE - Max redundant copies per frame and RED history depth.
Functions§
- red_
blocks 🔒 - The blocks of an RFC 2198 payload, oldest first, as
(ts, start, len)within it: each redundant block atprimary_tsless its 14-bit offset (an empty one left out), then the primary, which is whatever bytes remain.Nonefor a payload whose headers or blocks run past it, or that carries more thanRED_MAX_DISTANCEredundant blocks.
Type Aliases§
- Blocks 🔒
- The blocks of a payload, oldest first, as
(ts, start, len);red_blockssays how many.