SourceLiveConfig
data class SourceLiveConfig(var targetLatency: Double? = null, var catchupConfig: TargetSynchronizationConfig = TargetSynchronizationConfig(
playbackRate = DEFAULT_PLAYBACK_RATE_CATCHUP
), var fallbackConfig: TargetSynchronizationConfig = TargetSynchronizationConfig(
playbackRate = DEFAULT_PLAYBACK_RATE_FALLBACK
), var minTimeShiftBufferDepth: Double = DEFAULT_MIN_TIME_SHIFT_BUFFER_DEPTH) : Parcelable
Configures the behaviour when playing live content.
Constructors
Link copied to clipboard
constructor(targetLatency: Double? = null, catchupConfig: TargetSynchronizationConfig = TargetSynchronizationConfig(
playbackRate = DEFAULT_PLAYBACK_RATE_CATCHUP
), fallbackConfig: TargetSynchronizationConfig = TargetSynchronizationConfig(
playbackRate = DEFAULT_PLAYBACK_RATE_FALLBACK
), minTimeShiftBufferDepth: Double = DEFAULT_MIN_TIME_SHIFT_BUFFER_DEPTH)
Properties
Link copied to clipboard
The TargetSynchronizationConfig for catchup.
Link copied to clipboard
The TargetSynchronizationConfig for fallback.
Link copied to clipboard
The minimum buffer depth of the Source needed to enable time shifting. If the available buffer depth is shorter, time shifting is disabled and Player.maxTimeShift returns 0.0
.
Link copied to clipboard
The initial LowLatencyApi.targetLatency in seconds.