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.
(constructor & args)Constructor.
The MediaStreamTrackEvent() constructor returns a newly created web.streams.MediaStreamTrackEvent object, which represents an event announcing that a web.video.MediaStreamTrack has been added to or removed from a web.streams.MediaStream.
The MediaStreamTrackEvent() constructor also inherits arguments from Event().
type
A web.DOMString representing the name of the type of the MediaStreamTrackEvent. It is case-sensitive and can be "addtrack" or "removetrack".
track
A web.video.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.video.MediaStreamTrack` has been added to or removed from a `web.streams.MediaStream`. The MediaStreamTrackEvent() constructor also inherits arguments from `Event()`. type A `web.DOMString` representing the name of the type of the MediaStreamTrackEvent. It is case-sensitive and can be \"addtrack\" or \"removetrack\". track A `web.video.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`
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |