StartPositionCorrection

data class StartPositionCorrection(val from: Double, val to: Double) : SourceEvent

Emitted for live sources when the player preserves the initially selected start position by applying a time shift before playback begins.

This can happen when the live window advances while playback is waiting to start, for example during preroll ads or when the player remains paused before first playback. The event is only emitted if the player needs to correct a noticeable drift from the intended start position.

Constructors

Link copied to clipboard
constructor(from: Double, to: Double)

Properties

Link copied to clipboard

The timeshift from which the correction starts.

Link copied to clipboard
val to: Double

The timeshift to which the playhead is corrected.