I am using Agora Voice Unity SDK for voice calling in my App. I facing a problem that when I leave channel on iPhone . My button clicks sounds stops working.
通过调查,我发现“AVAudioSession”在离开频道时正在停业。
The Consolelog Statement:
“2023-08-04 01:03:29.359231-0700 AgoraVoicetest [1362:131944] [avas] AVAudioSession_iOS.mm:1271 • 启动一个运行I/O的音频会议。 所有I/O均应在开始音频会议之前停止或暂停使用。
这一标志出现在我离开频道时。
我的密码照相机。
I have tried "DisableAudio()" function upon leaving channel. Expected result: Upon leaving channel , only voice communication should be disabled/disconnect . Game media sounds (e.g: Button click sounds) should remain active.