AudioQuality
data class AudioQuality(val id: String, val label: String?, val bitrate: Int, val averageBitrate: Int, val peakBitrate: Int, val codec: String?, val channelCount: Int?) : Quality
Represents an audio quality. Known limitations:
- If a quality has never been played, any of its properties missing from the manifest are assumed to be the same as the first played quality (except for bitrate).
Constructors
Properties
| Name | Summary |
|---|---|
| averageBitrate | open 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: |
| 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. |
| channelCount | val channelCount: Int? The number of audio channels, or null if unknown. |
| codec | open override val codec: String? The codec of the media quality. |
| id | open override val id: String The id of the media quality. |
| label | open override val label: String? The label of the media quality that should be exposed to the user. |
| peakBitrate | open 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: |