joinRoom method
Implementation
Future<int> joinRoom(String roomId, RCRTCRoomSetup setup) async {
Map<String, dynamic> arguments = {
'id': roomId,
'setup': setup.toJson(),
};
int code = await _channel.invokeMethod('joinRoom', arguments) ?? -1;
return code;
}