stopRoomMediaRelay method

Future<void> stopRoomMediaRelay(
  1. String destRoomName,
  2. int userId
)

停止跨房间连麦

@param destRoomName 目标房间 @param userId 加入目标房间时使用的userId,必须在加入房间中是唯一的 @discussion 停止跨房间连麦

Implementation

Future<void> stopRoomMediaRelay(String destRoomName, int userId) {
  return bRTCPluginChannel.invokeMethod('stopRoomMediaRelay', {
    "destRoomName": destRoomName,
    "userId": userId,
  });
}