Liking cljdoc? Tell your friends :D

web.audio.MediaStreamAudioSourceNode

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

The MediaStreamAudioSourceNode interface is a type of `web.audio.AudioNode`
operates as an audio source whose media is received from a `web.streams.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 web.audio.MediaStreamAudioSourceNode object which uses the first audio track of a given web.streams.MediaStream as its source.

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

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

mediaStream A required property which specifies the web.streams.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 `web.audio.MediaStreamAudioSourceNode` object which uses the first audio track of a given `web.streams.MediaStream` as its source.

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

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


`mediaStream`
A required property which specifies the `web.streams.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 web.audio.MediaStreamAudioSourceNode interface's read-only property indicates the web.streams.MediaStream that contains audio 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 `web.audio.MediaStreamAudioSourceNode` interface's read-only
property indicates the `web.streams.MediaStream` that contains
audio 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 web.audio.MediaStreamAudioSourceNode interface's read-only property indicates the web.streams.MediaStream that contains audio 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 `web.audio.MediaStreamAudioSourceNode` interface's read-only
property indicates the `web.streams.MediaStream` that contains
audio 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