StreamVariant
data class StreamVariant(val index: Int, val bitrate: Long, val width: Int? = null, val height: Int? = null, val frameRate: Double? = null, val codecs: String? = null, val hdr: Boolean = false)
One version of the media at another quality, such as one variant of an HLS master playlist. Tracks.variants lists them, and KitePlayer.selectVariant plays one of them.
Constructors
Properties
Link copied to clipboard
The variant's place in its master playlist, counting from 0. KitePlayer.selectVariant takes it.