setVideoConfig method

Future<int> setVideoConfig(
  1. RCRTCVideoConfig config, [
  2. bool tiny = false
])

Implementation

Future<int> setVideoConfig(
  RCRTCVideoConfig config, [
  bool tiny = false,
]) async {
  Map<String, dynamic> arguments = {
    'config': config.toJson(),
    'tiny': tiny,
  };
  int code = await _channel.invokeMethod('setVideoConfig', arguments) ?? -1;
  return code;
}