updateForwardStreamToRooms abstract method
Updates information of the rooms where you want to relay the media stream to after calling RTCRoom.startForwardStreamToRooms.
Adding and removing rooms by calling this method will trigger RTCRoomEventHandler.onForwardStreamStateChanged locally.
forwardStreamInfos
: Information of the rooms where you want to relay the media stream to.
Notes:
- Users in the room which is added by calling this method will receive RTCRoomEventHandler.onUserJoined and RTCRoomEventHandler.onUserPublishStream/RTCRoomEventHandler.onUserPublishScreen.
- Users in the room which is removed by calling this method will receive RTCRoomEventHandler.onUserUnpublishStream/RTCRoomEventHandler.onUserUnpublishScreen and RTCRoomEventHandler.onUserLeave.
Implementation
Future<int?> updateForwardStreamToRooms(
List<ForwardStreamInfo> forwardStreamInfos);