awslabs / amazon-kinesis-video-streams-webrtc-sdk-ios

iOS SDK for interfacing with the Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
66 stars 29 forks source link

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

Closed ankitsaini56 closed 3 months ago

ankitsaini56 commented 11 months ago

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

ceaglest commented 8 months ago

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.

niyatim23 commented 3 months ago

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