createMediaStreamSource abstract method

MediaStreamAudioSourceNode createMediaStreamSource(
  1. MediaStream mediaStream
)

The createMediaStreamSource() method of the AudioContext is used to create a new MediaStreamAudioSourceNode object, given a media stream (say, from a MediaDevices.getUserMedia instance), the audio from which can then be played and manipulated.

For more details about media stream audio source nodes, check out the MediaStreamAudioSourceNode reference page.

Implementation

MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream);