Video
Enable Video
The enableVideo
method enables the local microphone and starts producing the video track.
enableVideo
method calls both fetchStream
and produce
method
internally.It also return MediaStream
which can be used to render the screen
share stream in the UI.
Example
// Enable Video stream
val videoTrack = huddleClient.localPeer.enableVideo();
The disableVideo
method stops the local video stream and also stops producing the video stream with remote peers.
Example
// Disable video stream
huddleClient.localPeer.disableVideo();