TargetSynchronizationConfig

TargetSynchronizationConfig

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

Configures target latency synchronization behaviour.

Constructors

TargetSynchronizationConfigconstructor(seekThreshold: Double = DEFAULT_SEEK_THRESHOLD, playbackRate: Float)

Types

NameSummary
Companionobject Companion

Properties

NameSummary
playbackRatevar playbackRate: Float
The maximum playback rate used to reach the LowLatencyApi.targetLatency.
seekThreshold@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.