Configuration for live streams to maintain a certain live latency.

interface LowLatencyConfig {
    catchup?: LowLatencySyncConfig;
    fallback?: LowLatencySyncConfig;
    targetLatency?: number;
}

Properties

Configuration defining catchup to be done if the player exceeds the target latency.

Configuration defining fallback to be done if the player falls below the target latency.

targetLatency?: number

The target latency in seconds, i.e. the distance from the stream's live edge to be maintained by the player during playback.

Default: 5