AudioConfiguration
Link
https://w3c.github.io/media-capabilities/#dictdef-audioconfiguration
Properties
bitrate
bitrate:
number
The bitrate member represents the number of average bitrate of the audio track. The bitrate is the number of bits used to encode a second of the audio track.
Link
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-bitrate
channels
channels:
string
The channels member represents the audio channels used by the audio track. channels is only applicable to the decoding types media-source, file, and webrtc and the encoding type webrtc.
Link
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-channels
contentType
contentType:
string
The contentType member represents the MIME type of the audio track.
Link
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-contenttype
samplerate
samplerate:
number
The samplerate represents the samplerate of the audio track in. The samplerate is the number of samples of audio carried per second. samplerate is only applicable to the decoding types media-source, file, and webrtc and the encoding type webrtc.
Link
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-samplerate
spatialRendering
spatialRendering:
boolean
The spatialRendering member indicates that the audio SHOULD be renderered spatially. The details of spatial rendering SHOULD be inferred from the contentType.
Link
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-spatialrendering
Last updated: Sep 30, 2025