LowLatencySynchronizationConfig

data class LowLatencySynchronizationConfig(playbackRateThreshold: Double, seekThreshold: Double, playbackRate: Float) : Parcelable

Configures target latency synchronization behaviour.

Constructors

Link copied to clipboard
fun LowLatencySynchronizationConfig(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
var playbackRate: Float

The playback rate used to reach the target latency if the playbackRateThreshold is exceeded.

Link copied to clipboard
var playbackRateThreshold: Double

The threshold in seconds for the current latency that triggers synchronization to the target latency by altering the playback rate.

Link copied to clipboard
var seekThreshold: Double

The threshold in seconds for the current latency that triggers synchronization to the target latency by time-shifting.