AudioConfiguration
https://w3c.github.io/media-capabilities/#dictdef-audioconfiguration
Properties
contentType
contentType:
string
The contentType member represents the MIME type of the audio track.
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-contenttype
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.
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-channels
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.
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-bitrate
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.
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.
https://w3c.github.io/media-capabilities/#dom-audioconfiguration-spatialrendering
Last updated: Jul 22, 2026

