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.


Also inherits properties from its parent Event.

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


Constructs a new MediaStreamTrackEvent with the specified configuration.


Also inherits methods from its parent Event.


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


© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.

API Interface Media Streams API MediaStreamTrackEvent Reference