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
{{page("/en-US/docs/Web/API/MediaStreamAudioSourceNode/MediaStreamAudioSourceNode", "Example")}}
Specifications
Specification | Status | Comment |
---|---|---|
Unknown The definition of 'MediaStreamAudioSourceOptions.mediaStream' in that specification. |
Working Draft |
Browser compatibility
BCD tables only load in the browser