QualitySnapshot

data class QualitySnapshot(val positionMs: Long, val bufferedMs: Long, val bandwidthEstimateBps: Long, val droppedFramesTotal: Int, val liveLatencyMs: Long? = null, val atLiveEdge: Boolean? = null) : AnalyticsEvent

Periodic playback-quality sample, emitted every 10s while playing. liveLatencyMs/atLiveEdge are populated for live streams only — the live-latency measurement rides the existing cadence.

Constructors

Link copied to clipboard
constructor(positionMs: Long, bufferedMs: Long, bandwidthEstimateBps: Long, droppedFramesTotal: Int, liveLatencyMs: Long? = null, atLiveEdge: Boolean? = null)

Properties

Link copied to clipboard

URL of the media item this event belongs to (null before a load).

Link copied to clipboard
val atLiveEdge: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val liveLatencyMs: Long? = null
Link copied to clipboard
Link copied to clipboard

Playback-session id: a fresh UUID minted by every OGPlayer.load, stamped on each event of that session so consumers can key their pipelines without inventing their own ids. Null only for events emitted before the first load.