publishLocalAudioStream static method
开启或关闭发送本地音频流。
-
channelId频道标识符,不能为空。 -
publish是否开启本地音频流:- true: 开启发送本地音频流,
- false:关闭发送本地音频流
-
Returns 返回状态码 见JRTCErrorCode。
Implementation
static Future<int> publishLocalAudioStream(
String channelId, bool publish) async {
return await JRTCExpressEngineImpl.publishLocalAudioStream(
channelId, publish);
}