Expand description
Bounded reorder buffer for GAP audio frames.
Real-time voice traffic arrives out of order. GAP §7 RECOMMENDS a small
jitter buffer at the receiver: hold incoming frames briefly so the
decoder consumes them in rtp_sequence order, drop frames that arrive
after their playout deadline.
JitterBuffer is a tiny, allocation-free reorder window keyed by
media_source_id. It does not own a clock — the application calls
JitterBuffer::pop_in_order from its render thread to drain the
next-expected frame.
Structs§
- Jitter
Buffer - Bounded reorder window for GAP audio frames.
Enums§
- Jitter
Push - Outcome of
JitterBuffer::push.