startForwardStreamToRooms abstract method

Future<int?> startForwardStreamToRooms(
  1. List<ForwardStreamInfo> forwardStreamInfos
)

Starts relaying media stream across rooms.

Call this API after the user enters the room to achieve the relaying of media streams to multiple rooms, which applies to cross-room concatenation and other scenarios.

forwardStreamInfos: Information of the rooms where you want to relay the media stream to.

Notes:

Implementation

Future<int?> startForwardStreamToRooms(
    List<ForwardStreamInfo> forwardStreamInfos);