A playout buffer that manages timed delivery of MoQT objects.
The buffer automatically extracts capture timestamps from extension headers
to determine when objects should be played out, maintaining consistent latency
and dropping old GOPs when necessary.
Usage:
constbuffer = newPlayoutBuffer(objectStream, { targetLatencyMs:500, maxLatencyMs:2000, clock }); buffer.onObject = (obj) => { if (obj) { // Process the object } else { // End of stream } };
A playout buffer that manages timed delivery of MoQT objects.
The buffer automatically extracts capture timestamps from extension headers to determine when objects should be played out, maintaining consistent latency and dropping old GOPs when necessary.
Usage: