LiveConfig

data class LiveConfig(lowLatencyConfig: LowLatencyConfig?, synchronization: List<SynchronizationConfigEntry>, liveEdgeOffset: Double, minTimeShiftBufferDepth: Double) : Parcelable

Configures the behaviour when playing live content.

Constructors

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

Types

Companion
Link copied to clipboard
object Companion

Properties

liveEdgeOffset
Link copied to clipboard
var liveEdgeOffset: Double
The duration in seconds by which the default start position should precede the end of the live window.
lowLatencyConfig
Link copied to clipboard
var lowLatencyConfig: LowLatencyConfig? = null
The LowLatencyConfig or null.
minTimeShiftBufferDepth
Link copied to clipboard
var minTimeShiftBufferDepth: Double
The minimum buffer depth of a stream needed to enable time shifting.
synchronization
Link copied to clipboard
var synchronization: List<SynchronizationConfigEntry>
A list of SynchronizationConfigEntrys defining the endpoints for time synchronization.

Functions

addSynchronizationEntry
Link copied to clipboard

Inherited functions

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