pub fn jitter_buffer(
source: Stream,
clock: Symbol,
max_late_packets: u32,
) -> StreamExpand description
Reorders packets by clock tick, tolerating up to max_late_packets.
The buffer drains the source, sorts packets by their tick index on clock
(stable on ties), and replays them in order. With max_late_packets of 0
any out-of-order packet is dropped rather than reordered.