MediaStreamAudioDestinationNode - Web APIs | MDN

Constructor

MediaStreamAudioDestinationNode()

Creates a new MediaStreamAudioDestinationNode object instance.

Instance properties

Inherits properties from its parent, AudioNode.

MediaStreamAudioDestinationNode.stream

A MediaStream containing a single MediaStreamTrack whose kind is audio and with the same number of channels as the node. You can use this property to get a stream out of the audio graph and feed it into another construct, such as a Media Recorder.

Instance methods

Inherits methods from its parent, AudioNode.

Example

See AudioContext.createMediaStreamDestination() for example code that creates a MediaStreamAudioDestinationNode and uses it as a source for audio to be recorded.

Specifications

Specification
Web Audio API
# MediaStreamAudioDestinationNode

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.