setAudioConfig method

Future<int> setAudioConfig(
  1. RCRTCAudioConfig config
)

Implementation

Future<int> setAudioConfig(RCRTCAudioConfig config) async {
  Map<String, dynamic> arguments = {
    'config': config.toJson(),
  };
  int code = await _channel.invokeMethod('setAudioConfig', arguments) ?? -1;
  return code;
}