bitrate

open 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.

Equivalent to:

when {
peakBitrate != Quality.BITRATE_NO_VALUE -> peakBitrate
averageBitrate != Quality.BITRATE_NO_VALUE -> averageBitrate
else -> Quality.BITRATE_NO_VALUE
}