setCustomStreamVideoConfig method

Future<int> setCustomStreamVideoConfig(
  1. String tag,
  2. RCRTCVideoConfig config
)

Implementation

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