VideoQuality

VideoQuality

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

Represents a video quality.

Constructors

VideoQualityconstructor(id: String, label: String?, bitrate: Int, averageBitrate: Int, peakBitrate: Int, codec: String?, frameRate: Float, width: Int, height: Int)

Properties

NameSummary
averageBitrateopen override val averageBitrate: Int
The average bitrate in bits per second, or BITRATE_NO_VALUE if unknown or not applicable. The way in which this field is populated depends on the type of media to which the format corresponds:
bitrateopen override val bitrate: Int
The bitrate in bits per second. This is the peak bitrate if known, or else the average bitrate if known, or else BITRATE_NO_VALUE.
codecopen override val codec: String?
The codec of the media quality.
frameRateval frameRate: Float
The frame rate of the video quality. If the frame rate is not known or not applicable a value of -1 will be returned.
heightval height: Int
The height of the video quality.
idopen override val id: String
The id of the media quality.
labelopen override val label: String?
The label of the media quality that should be exposed to the user.
peakBitrateopen override val peakBitrate: Int
The peak bitrate in bits per second, or BITRATE_NO_VALUE if unknown or not applicable. The way in which this field is populated depends on the type of media to which the format corresponds:
widthval width: Int
The width of the video quality.