LiveInfo

class LiveInfo(val streamType: StreamType, val dvrWindowMs: Long, val atLiveEdge: Boolean, val latencyMs: Long, val playheadWallClockMs: Long? = null)

Runtime facts about the current live stream. Null for VOD.

Constructors

Link copied to clipboard
constructor(streamType: StreamType, dvrWindowMs: Long, atLiveEdge: Boolean, latencyMs: Long, playheadWallClockMs: Long? = null)

Properties

Link copied to clipboard

True when playback is within 10s of the live edge.

Link copied to clipboard

Length of the seekable window in milliseconds (0 when unknown).

Link copied to clipboard

Current distance behind the live edge in milliseconds, or -1 when unknown.

Link copied to clipboard

Wall-clock time (epoch millis) of the current playhead, when the stream's manifest carries program timing; null otherwise. Advances in real time while playing — the ticking clock a DVR UI shows while the scrub position itself stays constant inside a sliding window.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String