LowLatencyConfig

data class LowLatencyConfig(var targetLatency: Double = 3.0, var catchupConfig: LowLatencySynchronizationConfig = LowLatencySynchronizationConfig( playbackRate = LowLatencySynchronizationConfig.DEFAULT_PLAYBACK_RATE_CATCHUP ), var fallbackConfig: LowLatencySynchronizationConfig = LowLatencySynchronizationConfig( playbackRate = LowLatencySynchronizationConfig.DEFAULT_PLAYBACK_RATE_FALLBACK )) : Parcelable

Configures settings for low latency playback.

Constructors

Link copied to clipboard
constructor(targetLatency: Double)
constructor(targetLatency: Double = 3.0, catchupConfig: LowLatencySynchronizationConfig = LowLatencySynchronizationConfig( playbackRate = LowLatencySynchronizationConfig.DEFAULT_PLAYBACK_RATE_CATCHUP ), fallbackConfig: LowLatencySynchronizationConfig = LowLatencySynchronizationConfig( playbackRate = LowLatencySynchronizationConfig.DEFAULT_PLAYBACK_RATE_FALLBACK ))

Properties

Link copied to clipboard

The target latency in seconds the player should try to reach and maintain.