amazon-kinesis-video-streams-webrtc-sdk-ios icon indicating copy to clipboard operation
amazon-kinesis-video-streams-webrtc-sdk-ios copied to clipboard

Microphone permission is getting asked from sdk after successful peer connection. How to stop that?

Open ankitsaini56 opened this issue 1 year ago • 1 comments

As soon as webrtc connection is done, getting mircophone permission popup, how to disable that ?

ankitsaini56 avatar Dec 12 '23 13:12 ankitsaini56

Hi @ankitsaini56,

Are you publishing an audio track on the iOS side? You could disable audio when calling: WebRTCClient.init:

    required init(iceServers: [RTCIceServer], isAudioOn: Bool) {

Publishing audio uses the microphone and requires permissions. If libwebrtc is still using the mic after that its probably an issue in their code.

ceaglest avatar Mar 03 '24 00:03 ceaglest

Closing assuming answered. Feel free to reopen if the issue persists

niyatim23 avatar Jul 30 '24 18:07 niyatim23