This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

remove

Summary

Removes a MediaStreamTrack from this track list.

Method of apis/webrtc/MediaStreamTrackListapis/webrtc/MediaStreamTrackList

Syntax

 trackList.remove(track);

Parameters

track

Data-type
MediaStreamTrack

MediaStreamTrack track, required.

Return Value

No return value

Notes

Exception INVALID_STATE_ERR if the stream is finished (all tracks have ended).