MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey-2018-1

MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode()

The MediaStreamAudioDestinationNode() constructor of the Web Audio API creates a new MediaStreamAudioDestinationNode object instance.

Syntax

var myAudioDest = new MediaStreamAudioDestinationNode(context, options);

Parameters

Inherits parameters from the AudioNodeOptions dictionary.

context
An AudioContext representing the audio context you want the node to be associated with.
options Optional
An AudioNodeOptions dictionary object defining the properties you want the MediaStreamAudioDestinationNode to have.

Return value

A new MediaStreamAudioDestinationNode object instance.

Example

var ac = new AudioContext();

var myDestination = new MediaStreamAudioDestinationNode(ac);

Specifications

Specification Status Comment
Web Audio API
The definition of 'MediaStreamAudioDestinationNode' in that specification.
Working Draft  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support551 ?53 No42 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic support551551 ?53 No42 ?

1. Before Chrome 59, the default values were not supported.

Document Tags and Contributors

 Contributors to this page: fscholz, chrisdavidmills
 Last updated by: fscholz,