LiveConfig

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.

Constructors

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Adds a SynchronizationConfigEntry. Each Entry has a source which specifies the server that should be used for time synchronization as well as a LiveSynchronizationMethod used to synchronize time with the source.

Properties

Link copied to clipboard

The duration in seconds by which the default start position should precede the end of the live window. A suggested presentation delay in a manifest will be overridden. In case of a DASH low latency stream (i.e. LowLatencyConfig is set), the liveEdgeOffset will be ignored. A value < 0 disables this feature.

Link copied to clipboard
Link copied to clipboard

The minimum buffer depth of a stream needed to enable time shifting. If the available buffer depth is shorter, time shifting is disabled and Player.maxTimeShift returns 0.

Link copied to clipboard

A list of SynchronizationConfigEntrys defining the endpoints for time synchronization.