resumeForwardStreamToAllRooms method
@detail api
@author shenpengliang
@brief 恢复跨房间媒体流转发。
调用 pauseForwardStreamToAllRooms{@link #ByteRTCRoom#pauseForwardStreamToAllRooms} 暂停转发之后,调用本方法恢复向所有目标房间转发媒体流。
@return
- 0: 调用成功。
- < 0 : 调用失败。查看 ByteRTCReturnStatus{@link #ByteRTCReturnStatus} 获得更多错误说明。
@note
目标房间中的用户将接收到本地用户进房 rtcRoom:onUserJoined:{@link #ByteRTCRoomDelegate#rtcRoom:onUserJoined} 和发布 rtcRoom:onUserJoined:{@link #ByteRTCRoomDelegate#rtcRoom:onUserJoined} 的回调。
Implementation
FutureOr<int> resumeForwardStreamToAllRooms() async {
return await nativeCall('resumeForwardStreamToAllRooms', []);
}