TimestampPlayoutOptions
Defined in: sequencer.ts:103
Options for FrameSequencerOptions.timestampPlayout. Durations are microseconds.
Properties
Section titled “Properties”horizonUs?
Section titled “horizonUs?”horizonUs?: number;Defined in: sequencer.ts:108
The furthest ahead of the position a frame is held; a frame further ahead resyncs forward, as a timeline jump. Positive and finite. Default 30,000,000.
leadUs?
Section titled “leadUs?”leadUs?: number | (() => number);Defined in: sequencer.ts:116
How far ahead of the position a held frame is released: what the player wants to hold beyond what is audible. For
the audio player, pass () => input.playoutLeadUs, its output delay plus its jitter target: a lead longer than
that leaves more audio held than the jitter buffer’s target, and the buffer trims the excess every second. A
function is read at every poll; a value it returns that is not a finite number from 0 up counts as the default.
Not negative. Default 100,000: the audio player’s default 60 ms jitter target and a 40 ms output delay.