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).