Web/API/MediaStreamAudioSourceOptions/mediaStream
The MediaStreamAudioSourceOptions
dictionary's mediaStream
property must specify the MediaStream
from which to retrieve audio data when instantiating a MediaStreamAudioSourceNode
using the MediaStreamAudioSourceNode()
constructor.
Syntax
mediaStreamAudioSourceOptions = { mediaStream: audioSourceStream; } mediaStreamAudioSourceOptions.mediaStream = audioSourceStream;
Value
A MediaStream
representing the stream from which to use a MediaStreamTrack
as the source of audio for the node.
Example
Specifications
Specification | Status | Comment |
Web Audio APIThe definition of 'MediaStreamAudioSourceOptions.mediaStream' in that specification. | Working Draft |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
mediaStream
|
Chrome
Full support 55 |
Edge
Full support ≤79 |
Firefox
Full support 53 |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 55 |
Chrome Android
Full support 55 |
Firefox Android
Full support 53 |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 6.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
MediaStreamAudioSourceOptions.mediaStream by Mozilla Contributors is licensed under CC-BY-SA 2.5.