VideoQuality

data class VideoQuality(val id: String, val label: String?, val bitrate: Int, val codec: String?, val frameRate: Float, val width: Int, val height: Int) : Quality

Represents a video quality.

Constructors

Link copied to clipboard
constructor(id: String, label: String?, bitrate: Int, codec: String?, frameRate: Float, width: Int, height: Int)

Properties

Link copied to clipboard
open override val bitrate: Int

The bitrate of the media quality.

Link copied to clipboard
open override val codec: String?

The codec of the media quality.

Link copied to clipboard

The frame rate of the video quality. If the frame rate is not known or not applicable a value of -1 will be returned.

Link copied to clipboard
val height: Int

The height of the video quality.

Link copied to clipboard
open override val id: String

The id of the media quality.

Link copied to clipboard
open override val label: String?

The label of the media quality that should be exposed to the user.

Link copied to clipboard
val width: Int

The width of the video quality.