muteLocalStream method

Future<int> muteLocalStream(
  1. RCRTCMediaType type,
  2. bool mute
)

Implementation

Future<int> muteLocalStream(RCRTCMediaType type, bool mute) async {
  Map<String, dynamic> arguments = {
    'type': type.index,
    'mute': mute,
  };
  int code = await _channel.invokeMethod('muteLocalStream', arguments) ?? -1;
  return code;
}