MediaStream
The MediaStream
interface of the Media Capture and Streams API represents a stream of media content.
Functions
The addTrack()
method of the MediaStream interface adds a new track to the stream.
The clone()
method of the MediaStream interface creates a duplicate of the MediaStream
.
The getAudioTracks()
method of the stream's track set where MediaStreamTrack.kind is audio
.
The getTrackById()
method of the MediaStream interface returns a MediaStreamTrack object representing the track with the specified ID string.
The getTracks()
method of the stream's track set, regardless of MediaStreamTrack.kind.
The getVideoTracks()
method of the ``js-nolint getVideoTracks() ``
None.
The removeTrack()
method of the MediaStream interface removes a ``js-nolint removeTrack(track) ``
- track
- : A MediaStreamTrack that will be removed from the stream.