enableAudioOutput static method

Future<int> enableAudioOutput(
  1. String channelId,
  2. bool enable
)

开启/关闭音频输出。

  • channelId 频道标识符,不能为空。

  • enable 开启/关闭音频输出:

    • true:开启音频输出 ,
    • false:关闭音频输出。
  • Returns 返回状态码 见JRTCErrorCode

Implementation

static Future<int> enableAudioOutput(String channelId, bool enable) async {
  return await JRTCExpressEngineImpl.enableAudioOutput(channelId, enable);
}