Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. MediaStreamAudioDestinationNode

MediaStreamAudioDestinationNode

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨October 2018⁩.

TheMediaStreamAudioDestinationNode interface represents an audio destination consisting of aWebRTCMediaStream with a singleAudioMediaStreamTrack, which can be used in a similar way to aMediaStream obtained fromnavigator.mediaDevices.getUserMedia().

It is anAudioNode that acts as an audio destination, created using theAudioContext.createMediaStreamDestination() method.

EventTarget AudioNode MediaStreamAudioDestinationNode
Number of inputs1
Number of outputs0
Channel count2
Channel count mode"explicit"
Channel count interpretation"speakers"

Constructor

MediaStreamAudioDestinationNode()

Creates a newMediaStreamAudioDestinationNode object instance.

Instance properties

Inherits properties from its parent,AudioNode.

MediaStreamAudioDestinationNode.stream

AMediaStream containing a singleMediaStreamTrack whosekind isaudio 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 aMedia Recorder.

Instance methods

Inherits methods from its parent,AudioNode.

Example

SeeAudioContext.createMediaStreamDestination() for example code that creates aMediaStreamAudioDestinationNode 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 byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp