LowLatencySynchronizationConfig

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

Configures target latency synchronization behaviour.

Constructors

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

Types

Companion
Link copied to clipboard
object Companion

Properties

playbackRate
Link copied to clipboard
var playbackRate: Float
The playback rate used to reach the target latency if the playbackRateThreshold is exceeded.
playbackRateThreshold
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.
seekThreshold
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.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)