MediaStreamAudioSourceNode
js.html.EventTarget → AudioNode → js.html.audio.MediaStreamAudioSourceNode (extern class)
A MediaStreamAudioSourceNode
has no inputs and exactly one output, and is created using the AudioContext.createMediaStreamSource
method. The number of channels in the output equals the number of channels in AudioMediaStreamTrack
. If there is no valid media stream, then the number of output channels will be one silent channel.
Documentation MediaStreamAudioSourceNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
new(context: AudioContext, options: MediaStreamAudioSourceOptions): Void
Name | Type |
---|---|
context |
AudioContext |
options |
MediaStreamAudioSourceOptions |