iOS avoid microphone permission when only receiving and not sending anything

I got the library to work, and I can receive an audio stream. But on iOS, the mic permission is turned on and I can see the orange dot in the top right corner of the screen saying it’s recording, but it shouldn’t.

Any idea how to avoid this? I think it’s causing an issue with the sound quality, the sound is produced by the call speaker and not normal speakers. And when I use my bluetooth earphones, the sound quality is super low since it’s also using the bluetooth mic at the same time (even if I don’t use them).

Any idea?