LowLatencySynchronizationConfig

data class LowLatencySynchronizationConfig(var playbackRateThreshold: Double = DEFAULT_PLAYBACK_RATE_THRESHOLD, var seekThreshold: Double = DEFAULT_SEEK_THRESHOLD, var playbackRate: Float) : Parcelable

Configures target latency synchronization behaviour.

Constructors

Link copied to clipboard
constructor(playbackRateThreshold: Double = DEFAULT_PLAYBACK_RATE_THRESHOLD, seekThreshold: Double = DEFAULT_SEEK_THRESHOLD, playbackRate: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The maximum playback rate used to reach the LowLatencyApi.targetLatency.

Link copied to clipboard

Has no effect as there is no longer a latency threshold to adjust the playback rate. The Playback rate is continuously adjusted in favour of reaching and maintaining the target latency.

Link copied to clipboard

The LowLatencyApi.latency distance to the LowLatencyApi.targetLatency over the player should time-shift to the LowLatencyApi.targetLatency.