Quality

Quality

interface Quality

Contains information about a media quality.

Inheritors

Types

NameSummary
Companionobject Companion

Properties

NameSummary
averageBitrateabstract 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:
bitrateabstract 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.
codecabstract val codec: String?
The codec of the media quality.
idabstract val id: String
The id of the media quality.
labelabstract val label: String?
The label of the media quality that should be exposed to the user.
peakBitrateabstract 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: