pauseAllSubscribedStream abstract method
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:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
Implementation
Future<int?> pauseAllSubscribedStream(PauseResumeControlMediaType mediaType);