add
Summary
Adds a MediaStreamTrack to this track list.
Method of apis/webrtc/MediaStreamTrackListapis/webrtc/MediaStreamTrackList
Syntax
trackList.add(/* see parameter list */);
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).