addtrack is fired when the browser adds a track to a
MediaStream (such as when a
RTCPeerConnection is renegotiated or a stream being captured using
HTMLMediaElement.captureStream() gets a new set of tracks because the media element being captured loaded a new source.
This event implements the properties of
This event implements the methods of
|Media Capture and Streams |
The definition of 'addtrack' in that specification.
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Basic support||(Yes)||(Yes)||50 (50)||No support||(Yes)||?|
|Feature||Android||Chrome for Android||Edge||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||?||(Yes)||(Yes)||50.0 (50)||No support||?||?|
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.