as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
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
最后修改于 2026年8月25日