pauseAllSubscribedStream abstract method

Future<int?> pauseAllSubscribedStream(
  1. PauseResumeControlMediaType mediaType
)

Pauses receiving remote media streams.

Notes:

  • Calling this API does not change the capture and transmission state of the remote stream.
  • Calling this API does not cancel the subscription or change any subscription configuration.
  • To resume receiving streams, call RTCRoom.resumeAllSubscribedStream.
  • In a multi-room scenario, this API only pauses the reception of streams published in the current room.

Return value:

Implementation

Future<int?> pauseAllSubscribedStream(PauseResumeControlMediaType mediaType);