as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

AudioConfiguration

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.

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.

https://w3c.github.io/media-capabilities/#dom-audioconfiguration-channels


contentType

contentType: string

The contentType member represents the MIME type of the audio track.

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.

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: Oct 02, 2025