Package-level declarations

Contains API to configure live playback.

Types

Link copied to clipboard
data class LiveConfig(var lowLatencyConfig: LowLatencyConfig? = null, var synchronization: List<SynchronizationConfigEntry> = emptyList(), var liveEdgeOffset: Double = -1.0, var minTimeShiftBufferDepth: Double = DEFAULT_MIN_TIME_SHIFT_BUFFER_DEPTH) : Parcelable

Configures the behaviour when playing live content.

Link copied to clipboard

A method or protocol that can be used to synchronize time with an external source.

Link copied to clipboard
interface LowLatencyApi

Provides the means to configure low latency settings and to query the current low latency state. Accessible through Player.lowLatency.

Link copied to clipboard
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.

Link copied to clipboard
data class LowLatencySynchronizationConfig(var playbackRateThreshold: Double = DEFAULT_PLAYBACK_RATE_THRESHOLD, var seekThreshold: Double = DEFAULT_SEEK_THRESHOLD, var playbackRate: Float) : Parcelable

Configures target latency synchronization behaviour.

Link copied to clipboard

Defines a source and a method to synchronize time with.