TargetSynchronizationConfig

data class TargetSynchronizationConfig(var seekThreshold: Double = DEFAULT_SEEK_THRESHOLD, var playbackRate: Float) : Parcelable

Configures target latency synchronization behaviour.

Constructors

Link copied to clipboard
constructor(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
@EncodeDefault(mode = EncodeDefault.Mode.NEVER)
var seekThreshold: Double

The LowLatencyApi.latency distance to the LowLatencyApi.targetLatency over which the player should time-shift to the LowLatencyApi.targetLatency. The player will not seek to catchup if it would result in a stall.