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.

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