pauseForwardStreamToAllRooms method

FutureOr<int> pauseForwardStreamToAllRooms()

@detail api @region Multi-room @author shenpengliang @brief Pauses relaying media stream to all rooms after calling startForwardStreamToRooms:{@link #ByteRTCRoom#startForwardStreamToRooms}.
After that, call resumeForwardStreamToAllRooms{@link #ByteRTCRoom#resumeForwardStreamToAllRooms} to resume. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details. @note The other users in the room will receive callback of rtcRoom:onUserPublishStreamVideo:info:isPublish:{@link #ByteRTCRoomDelegate#rtcRoom:onUserPublishStreamVideo:info:isPublish}, rtcRoom:onUserPublishStreamAudio:info:isPublish:{@link #ByteRTCRoomDelegate#rtcRoom:onUserPublishStreamAudio:info:isPublish} when you pause relaying.

Implementation

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