The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on. The event target may be an Element in a document, the Document itself, a Window, or any other object that supports events (such as XMLHttpRequest).
MDN
Stores a copy of the MediaStreamTrack given as argument.
Stores a copy of the MediaStreamTrack given as argument. If the track has already been added to the MediaStream object, nothing happens; if the track is in the finished state - that is, has already reached its end - the exception INVALID_STATE_RAISE is raised.
MDN
Clones the given MediaStream and all its tracks.
Clones the given MediaStream and all its tracks. When the clone() method is invoked, the user agent must run the following steps: 1) Let streamClone be a newly constructed MediaStream object. 2) Initialize streamClone's id attribute to a newly generated value. 3) Let trackSetClone be a list that contains the result of running MediaStreamTrack.clone() on all the tracks in this stream.
Let trackSetClone be streamClone's track set.
MDN
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) apply to events dispatched manually with dispatchEvent().
MDN
Is a Boolean value set to true if the ended event has been fired on the object, meaning that the stream has been completely read, or false if the end of the stream has not been reached.
Is a Boolean value set to true if the ended event has been fired on the object, meaning that the stream has been completely read, or false if the end of the stream has not been reached.
MDN
Returns a list of the MediaStreamTrack objects stored in the MediaStream object that have their kind attribute set to "audio".
Returns a list of the MediaStreamTrack objects stored in the MediaStream object that have their kind attribute set to "audio". The order is not defined, and may not only vary from one browser to another, but also from one call to another..
MDN
Returns the track whose ID corresponds to the one given in parameters, trackid.
Returns the track whose ID corresponds to the one given in parameters, trackid. If no parameter is given, or if no track with that ID does exist, it returns null. If several tracks have the same ID, it returns the first one.
MDN
Returns a list of the MediaStreamTrack objects stored in the MediaStream object that have their kind attribute set to "video".
Returns a list of the MediaStreamTrack objects stored in the MediaStream object that have their kind attribute set to "video". The order is not defined, and may not only vary from one browser to another, but also from one call to another.
MDN
Is a DOMString containing 36 characters denoting a universally unique identifier (UUID) for the object.
Is a DOMString containing 36 characters denoting a universally unique identifier (UUID) for the object.
MDN
Is an EventHandler containing the action to perform when an addtrack event is fired when a new MediaStreamTrack object is added.
Is an EventHandler containing the action to perform when an addtrack event is fired when a new MediaStreamTrack object is added.
MDN
Is an EventHandler containing the action to perform when a end event is fired.
Is an EventHandler containing the action to perform when a end event is fired.
MDN
Is an EventHandler containing the action to perform when an removetrack event is fired when a MediaStreamTrack object is removed from it.
Is an EventHandler containing the action to perform when an removetrack event is fired when a MediaStreamTrack object is removed from it.
MDN
Removes the event listener previously registered with EventTarget.addEventListener.
Removes the event listener previously registered with EventTarget.addEventListener.
MDN
Removes the MediaStreamTrack given as argument.
Removes the MediaStreamTrack given as argument. If the track is not part of the MediaStream object, nothing happens; if the track is in the finished state - that is, it has already reached its end - the exception INVALID_STATE_RAISE is raised.
MDN
The MediaStream
https://www.w3.org/TR/2015/WD-mediacapture-streams-20150212/
MDN