MediaStreamTrackEvent

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

Properties

Also inherits properties from its parent Event.

track Read only
A MediaStreamTrack object representing the track which was added to the stream.

Constructor

MediaStreamTrackEvent()
Constructs a new MediaStreamTrackEvent with the specified configuration.

Methods

Also inherits methods from its parent Event.

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'MediaStreamTrackEvent' in that specification.
Editor's Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) 50 (50) No support (Yes) ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? (Yes) 50.0 (50) No support ? ?

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/mediastreamtrackevent

API Interface Media Streams API MediaStreamTrackEvent Reference