Liking cljdoc? Tell your friends :D

media.MediaStreamAudioSourceNode

The MediaStreamAudioSourceNode interface is a type of audio.AudioNode operates as an audio source whose media is received from a media.MediaStream using the WebRTC or Media Capture and Streams APIs.

The MediaStreamAudioSourceNode interface is a type of `audio.AudioNode`
operates as an audio source whose media is received from a `media.MediaStream`
using the WebRTC or Media Capture and Streams APIs.
raw docstring

constructorcljs

Constructor.

The Web Audio API's MediaStreamAudioSourceNode() constructor creates and returns a new media.MediaStreamAudioSourceNode object which uses the first audio track of a given media.MediaStream as its source.

context An audio.AudioContext representing the audio context you want the node to be associated with. options

A media.MediaStreamAudioSourceOptions object defining the properties you want the MediaStreamAudioSourceNode to have:

web.mediaStream A required property which specifies the media.MediaStream from which to obtain audio for the node.

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/MediaStreamAudioSourceNode

Constructor.

The Web Audio API's MediaStreamAudioSourceNode() constructor creates and returns a new `media.MediaStreamAudioSourceNode` object which uses the first audio track of a given `media.MediaStream` as its source.

context
An `audio.AudioContext` representing the audio context you want the node to be associated with.
options

A `media.MediaStreamAudioSourceOptions` object defining the properties you want the MediaStreamAudioSourceNode to have:


`web.mediaStream`
A required property which specifies the `media.MediaStream` from which to obtain audio for the node.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/MediaStreamAudioSourceNode`
sourceraw docstring

media-streamcljs

(media-stream this)

Property.

The media.MediaStreamAudioSourceNode interface's read-only property indicates the media.MediaStream that contains the track from which the node is receiving audio.

audioSourceStream = mediaStreamAudioSourceNode.mediaStream;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/mediaStream

Property.

The `media.MediaStreamAudioSourceNode` interface's read-only
property indicates the `media.MediaStream` that contains the
track from which the node is receiving audio.

`audioSourceStream = mediaStreamAudioSourceNode.mediaStream;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/mediaStream`
sourceraw docstring

set-media-stream!cljs

(set-media-stream! this val)

Property.

The media.MediaStreamAudioSourceNode interface's read-only property indicates the media.MediaStream that contains the track from which the node is receiving audio.

audioSourceStream = mediaStreamAudioSourceNode.mediaStream;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/mediaStream

Property.

The `media.MediaStreamAudioSourceNode` interface's read-only
property indicates the `media.MediaStream` that contains the
track from which the node is receiving audio.

`audioSourceStream = mediaStreamAudioSourceNode.mediaStream;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioSourceNode/mediaStream`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close