pauseAllStreams

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:

Code Example:


// Pause all incoming video streams
meeting.pauseAllStreams("video")

// Pause all incoming streams of every kind
meeting.pauseAllStreams()

Parameters

kind

the kind of streams to pause: "audio", "video", "share", or "all" to pause every kind

See also


This method can be used to pause all incoming streams of all kinds (audio, video, and share).

Code Example:


meeting.pauseAllStreams()