MediaStream
The MediaStream model represents the WebRTC media streams. The model includes the media stream ID, type, and audio and video tracks.
Accessors
id
▸ streamId: String
The media stream identifier.
Returns: String
type
▸ type: MediaStreamType
The media stream type.
Returns: MediaStreamType
audioTracks
▸ audioTracks: [AudioTrack]
The audio tracks available in the stream.
Returns: [AudioTrack]
videoTracks
▸ videoTracks: [VideoTrack]
The video tracks available in the stream.
Returns: [VideoTrack]
Updated almost 2 years ago