Readonly
audioThe sampling rate of the audio quality.
Readonly
availableWhether the quality is available.
- A quality can be unavailable due to a DRM restriction (e.g. HDCP).
Optional
Readonly
averageThe average bandwidth of the quality, in bits per second.
Readonly
bandwidthThe required bandwidth for the quality, in bits per second.
Readonly
codecsThe codecs of the quality.
- These are represented as a string containing the codecs as defined by the manifest.
Readonly
idThe identifier for this quality. This identifier is tied to the stream's internal representation. It may be empty. For a unique id, use Quality.uid.
The label of the quality.
Readonly
nameThe name of the quality.
Readonly
scoreThe HLS SCORE attribute.
- Available since v6.8.0.
- Only for HLS streams.
Readonly
uidThe unique identifier for this quality.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
Represents a quality of an audio track.