enableVoiceEarMonitor method

Future<void> enableVoiceEarMonitor(
  1. bool enable
)

启用耳返,使本地用户可以听到自己的声音。

注意:此 API 只在用户佩戴耳机时生效。目前仅支持部分声音采集延迟较短的机型

参数:

enable true:启用;false:禁用

不支持平台:

  • web
  • Windows

Implementation

Future<void> enableVoiceEarMonitor(bool enable) {
  return _channel.invokeMethod('enableVoiceEarMonitor', {"enable": enable});
}