VideoQuality

class VideoQuality(val id: String, val width: Int, val height: Int, val bitrate: Int, val isSelected: Boolean)

A selectable video rendition of the current media.

Constructors

Link copied to clipboard
constructor(id: String, width: Int, height: Int, bitrate: Int, isSelected: Boolean)

Properties

Link copied to clipboard

Average bitrate in bits per second, or -1 when unknown.

Link copied to clipboard
val height: Int
Link copied to clipboard
val id: String

Stable id to pass to OGPlayer.selectVideoQuality.

Link copied to clipboard

True when this rendition is explicitly pinned via OGPlayer.selectVideoQuality. All false = adaptive (Auto).

Link copied to clipboard
val width: Int

Functions

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