Table of Contents

Class MediaStreamAudioDestinationNode

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The MediaStreamAudioDestinationNode interface represents an audio destination consisting of a WebRTC MediaStream with a single AudioMediaStreamTrack, which can be used in a similar way to a MediaStream obtained from GetUserMedia(MediaStreamConstraints).

[Value("MediaStreamAudioDestinationNode")]
public class MediaStreamAudioDestinationNode : AudioNode
Inheritance
MediaStreamAudioDestinationNode
Inherited Members

Remarks

It is an AudioNode that acts as an audio destination, created using the CreateMediaStreamDestination() method.

-Using the Web Audio API

See also on MDN

Constructors

MediaStreamAudioDestinationNode()

public MediaStreamAudioDestinationNode()

MediaStreamAudioDestinationNode(AudioContext, AudioNodeOptions)

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

public MediaStreamAudioDestinationNode(AudioContext context, AudioNodeOptions options = null)

Parameters

context AudioContext
options AudioNodeOptions

Remarks

Properties

Stream

The stream property of the AudioContext interface represents a MediaStream containing a single audio MediaStreamTrack with the same number of channels as the node itself.

[Value("stream")]
public MediaStream Stream { get; }

Property Value

MediaStream

A MediaStream containing a single audio track. The audio track is a MediaStreamTrack whose Kind is audio.

Remarks

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.

-Using the Web Audio API

See also on MDN