Configuration specifying live latency synchronization (i.e. maintaining latency by catchup/fallback)

interface LowLatencySyncConfig {
    playbackRate?: number;
    playbackRateThreshold?: number;
    seekThreshold?: number;
}

Properties

playbackRate?: number

Playback speed to be used for catchup/fallback.

Defaults: 1.2 for catchup and 0.95 for fallback.

playbackRateThreshold?: number

Allowed deviation from target latency before catchup/fallback by changing the playback speed is done.

Default: Infinity (i.e. disabled)

seekThreshold?: number

Allowed deviation from target latency before catchup/fallback by seeking is done.

Default: Infinity (i.e. disabled)