A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrackEvent/MediaStreamTrackEvent below:

MediaStreamTrackEvent: MediaStreamTrackEvent() constructor - Web APIs

MediaStreamTrackEvent: MediaStreamTrackEvent() constructor

Baseline Widely available

The MediaStreamTrackEvent() constructor returns a new MediaStreamTrackEvent object, which represents an event signaling that a MediaStreamTrack has been added to or removed from a MediaStream.

Syntax
new MediaStreamTrackEvent(type, options)
Parameters
type

A string with the name of the event. It is case-sensitive and browsers set it to addtrack or removetrack.

options

An object that, in addition of the properties defined in Event(), can have the following properties:

track

A MediaStreamTrack object representing the track which was added to or removed from the stream.

Return value

A new MediaStreamTrackEvent object, initialized based on the provided options.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4