Liking cljdoc? Tell your friends :D
ClojureScript only.

web.streams.MediaStreamTrackEvent

The MediaStreamTrackEvent interface represents events which indicate a web.streams.MediaStream has had tracks added to or removed the stream through calls to Media Stream API methods. These events sent to the stream when these changes occur.

The MediaStreamTrackEvent interface represents events which indicate
a `web.streams.MediaStream` has had tracks added to or removed
the stream through calls to Media Stream API methods. These events
sent to the stream when these changes occur.
raw docstring

constructorcljs

Constructor.

The MediaStreamTrackEvent() constructor returns a newly created web.streams.MediaStreamTrackEvent object, which represents an event announcing that a web.audio.MediaStreamTrack has been added to or removed from a web.streams.MediaStream.

The MediaStreamTrackEvent() constructor also inherits arguments from Event().

type A web.dom.DOMString representing the name of the type of the MediaStreamTrackEvent. It is case-sensitive and can be "addtrack" or "removetrack". track A web.audio.MediaStreamTrack object representing the track which was added to or removed from the stream.

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

Constructor.

The MediaStreamTrackEvent() constructor returns a newly created `web.streams.MediaStreamTrackEvent` object, which represents an event announcing that a `web.audio.MediaStreamTrack` has been added to or removed from a `web.streams.MediaStream`.

The MediaStreamTrackEvent() constructor also inherits arguments from `Event()`.


type
A `web.dom.DOMString` representing the name of the type of the MediaStreamTrackEvent. It is case-sensitive and can be \"addtrack\" or \"removetrack\".
track
A `web.audio.MediaStreamTrack` object representing the track which was added to or removed from the stream.

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

set-track!cljs

(set-track! this val)

Property.

A MediaStreamTrack object representing the track which was added the stream.

Property.

A MediaStreamTrack object representing the track which was added
the stream.
sourceraw docstring

trackcljs

(track this)

Property.

A MediaStreamTrack object representing the track which was added the stream.

Property.

A MediaStreamTrack object representing the track which was added
the stream.
sourceraw docstring

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

× close