pauseForwardStreamToAllRooms abstract method
Pauses relaying media stream to all rooms after calling RTCRoom.startForwardStreamToRooms.
Return value:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
Notes:
- You can call RTCRoom.resumeForwardStreamToAllRooms at any time to quickly resume relaying.
- After calling this API, users in all rooms will receive RTCRoomEventHandler.onUserUnpublishStream/RTCRoomEventHandler.onUserUnpublishScreen and RTCRoomEventHandler.onUserLeave.
Implementation
Future<int?> pauseForwardStreamToAllRooms();