Interface MKLowLatencyConfig

Configuration for live streams to maintain a certain live latency.

Example:

{
targetLatency: 8,
catchup: {
playbackRateThreshold: 0.075,
seekThreshold: 5,
playbackRate: 1.08,
},
fallback: {
playbackRateThreshold: 0.075,
seekThreshold: 5,
playbackRate: 0.95,
},
}

Hierarchy

  • MKLowLatencyConfig

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: 8)