Stream Class
Introduction​
The Stream Class
includes methods and events of video & audio streams.
Properties​
getId()​
getId()
will return Id of stream- return type :
String
getKind()​
getKind()
will return kind of stream, which canaudio
,video
orshare
- return type :
String
getTrack()​
getTrack()
will return a MediaStreamTrack object stored in the MediaStream object- return type :
MediaStreamTrack
Methods​
pause()​
- By using
pause()
function, a participant can pause the stream of Remote Participant - return type :
void
resume()​
- By using
resume()
function, a participant can resume the stream of Remote Participant - return type :
void
Got a Question? Ask us on discord