diff --git a/src/utils/package/agora.ts b/src/utils/package/agora.ts index 951761a..04aa545 100644 --- a/src/utils/package/agora.ts +++ b/src/utils/package/agora.ts @@ -186,6 +186,7 @@ const agora = { }, // 加入频道 joinChannel: () => { + rtcEngine.enableAudioVolumeIndication(100, 1, true) rtcEngine.joinChannel(option.token, option.channelId, option.uid, { autoSubscribeAudio: true,//设置是否自动订阅所有音频流 autoSubscribeVideo: true,//设置是否自动订阅所有视频流