pauseForwardStreamToAllRooms method

FutureOr<int> pauseForwardStreamToAllRooms()

@detail api @region Multi-room @author shenpengliang @brief Call this method to pause relaying media stream to all rooms after calling startForwardStreamToRooms{@link #RTCRoom#startForwardStreamToRooms}.
After that, call resumeForwardStreamToAllRooms{@link #RTCRoom#resumeForwardStreamToAllRooms} to resume. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details. @note The other users in the room will receive callback of onUserJoined{@link #IRTCRoomEventHandler#onUserJoined}, onUserPublishStreamVideo{@link #IRTCRoomEventHandler#onUserPublishStreamVideo}, onUserPublishStreamAudio{@link #IRTCRoomEventHandler#onUserPublishStreamAudio} when you stop relaying.

Implementation

FutureOr<int> pauseForwardStreamToAllRooms() async {
  return await nativeCall('pauseForwardStreamToAllRooms', []);
}