new MediaNackTracker
new MediaNackTracker()Notices holes in one stream's sequence numbers and says which ones to nack (RFC 4585 Section 6.2.1)
Notices holes in one stream's sequence numbers and says which ones to nack (RFC 4585 Section 6.2.1)
import { MediaFrames } from 'detritus-client-socket';
MediaFrames.MediaNackTracker;push(sequence: number, now?: number): number[]Returns the sequence numbers to nack now, new holes right away and older ones again after a while
reset(): void