PlayoutClockOptions
Defined in: clock.ts:203
Options for createPlayoutClock. Durations are microseconds.
Properties
Section titled “Properties”audioTimeoutUs?
Section titled “audioTimeoutUs?”audioTimeoutUs?: number;Defined in: clock.ts:217
Audio silent for longer than this hands pacing to the wall clock. Default 500,000.
lateDropUs?
Section titled “lateDropUs?”lateDropUs?: number;Defined in: clock.ts:207
A frame later than this is dropped. Default 40,000 (EBU R37’s audio-early limit).
maxVideoDelayUs?
Section titled “maxVideoDelayUs?”maxVideoDelayUs?: number;Defined in: clock.ts:209
The most a frame may lead the clock before the clock re-syncs. Default 1,000,000.
now?: MicrosecondClock;Defined in: clock.ts:205
The time source, in microseconds. Defaults to performance.now().
targetLatencyUs?
Section titled “targetLatencyUs?”targetLatencyUs?: number;Defined in: clock.ts:215
The target latency: how far behind the position a frame may still be delivered for decoding, and how late a frame must be before wall pacing re-anchors on it. Default: twice the longest of the last four keyframe intervals reported, or 2,000,000 before any is.