FrameDropping

data class FrameDropping(val droppedInLastSecond: Int) : PlaybackWarning

Frames are being dropped to keep up with the clock.

Emitted from the stats tick when 5 or more frames were dropped since the previous one, so the rate limit is PlayerConfig.statsInterval, one second by default. The running total is also in PlaybackStats.droppedFramesLate for a caller who would rather diff two samples.

Constructors

Link copied to clipboard
constructor(droppedInLastSecond: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open override val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.