MediaStreamAudioSourceOptions

MediaStreamAudioSourceOptions dictionary provides configuration options used when creating a MediaStreamAudioSourceNode using its constructor. It is not needed when using the AudioContext.createMediaStreamSource() 方法。

特性

mediaStream
A required property which specifies the MediaStream from which to obtain audio for the node.

规范

规范 状态 Comment
Web 音频 API
The definition of 'MediaStreamAudioSourceOptions' in that specification.
工作草案

浏览器兼容性

更新 GitHub 上的兼容性数据
Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
MediaStreamAudioSourceOptions Chrome 55 Edge ≤18 Firefox 53 IE No Opera 15 Safari 6 WebView Android 55 Chrome Android 55 Firefox Android 53 Opera Android 14 Safari iOS ? Samsung Internet Android 6.0
mediaStream Chrome 55 Edge ≤79 Firefox 53 IE No Opera ? Safari ? WebView Android 55 Chrome Android 55 Firefox Android 53 Opera Android ? Safari iOS ? Samsung Internet Android 6.0

图例

完整支持
完整支持
不支持
不支持
兼容性未知
兼容性未知