diff --git a/src/utils/package/agora.ts b/src/utils/package/agora.ts index f5e733d..0753dae 100644 --- a/src/utils/package/agora.ts +++ b/src/utils/package/agora.ts @@ -230,7 +230,7 @@ const agora = { updateChannelMediaOptionsEx: async (bool: boolean) => { rtcEngine.updateChannelMediaOptionsEx({ clientRoleType: bool ? ClientRoleType.ClientRoleBroadcaster : ClientRoleType.ClientRoleAudience, //用户角色 ClientRoleBroadcaster 主播 ClientRoleAudience 观众 - autoSubscribeAudio: true,//设置是否自动订阅所有音频流 + autoSubscribeAudio: false,//设置是否自动订阅所有音频流 autoSubscribeVideo: true,//设置是否自动订阅所有视频流 publishMicrophoneTrack: true,//设置是否发布麦克风采集到的音频 publishCameraTrack: true,//设置是否发布摄像头采集的视频