I m developing a voice chat service using WebRTC. This service utilizes react-native-webview and is implemented using the Agora module in Nuxt.js.
However, while there are no problems on Android, when the app is run on an iPhone or in the Safari browser, an issue arises. Initially, the web obtains microphone permission, and I mute the microphone using localAudioTrack.enabled(false). The problem occurs exactly one minute after muting - the web s microphone permissions are revoked. So when I try to unmute, the microphone permission request confirmation window pops up again... I want to solve this issue.
await this.rtc.localAudioTrack.setEnabled(false);