muteLiveMixStream method

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

ZH

停止合流数据渲染 @param type @param mute @return

EN

Stop mixed stream rendering @param type Stream type @param mute Mute flag @return Operation status

Implementation

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