Skip to main content

Interface: QualityLevel

One entry of EvePlayer.getQualityLevels.

Properties​

bitrate​

bitrate: number

Bitrate in bits per second. 0 for the Auto (ABR) level.


height​

height: number

Video height in pixels. 0 for the Auto (ABR) level.


id​

id: string

Stable level id: 'auto' for the adaptive level, otherwise the VHS representation id.


isAuto​

isAuto: boolean

True when this entry represents the adaptive (auto) level.


label​

label: string

Human-readable label, e.g. "1080p", "720p", "Auto".


selected​

selected: boolean

True for the level playback is currently pinned to: the Auto entry while adaptive switching is on (the default, and again after every EvePlayer.setSource), otherwise the rendition picked via EvePlayer.setQualityLevel. Exactly one level is selected whenever the list is non-empty.