pause All Streams
Pauses all incoming (remote) streams of the specified kind across all participants.
This is a server-side operation that instructs the SFU to stop forwarding the specified media type to this participant. Local streams (your own mic/webcam) are not affected. To resume streams, use resumeAllStreams.
This method must be called after the meeting has been joined. If called before joining, an onError callback is fired with error code 3001.
Events:
- onPausedAllStreams — fired on success with the paused kind.
Code Example:
// Pause all incoming video streams
meeting.pauseAllStreams("video")
// Pause all incoming streams of every kind
meeting.pauseAllStreams()
Content copied to clipboard
Parameters
kind
the kind of streams to pause: "audio", "video", "share", or "all" to pause every kind
See also
Stream.pause()
This method can be used to pause all incoming streams of all kinds (audio, video, and share).
Code Example:
meeting.pauseAllStreams()
Content copied to clipboard