Closed dhavalyq closed 1 year ago
I have the same issue. Is that already fixed?
Yes, I figure out that when you set the kRTCMediaConstraintsOfferToReceiveAudio
constraint to true
in WebRTC, you must have to set Microphone Usage Description in info.plist file even if you're receiving only audio stream.
Yeah, thanks for the reply. I guessed the same thing myself.
NSMicrophoneUsageDescription
I didn't see that error in the console because I always used the filter for WebRTC. I couldn't even think of needing mic rights to play audio, but from a WebRTC perspective, it makes sense.
If kRTCMediaConstraintsOfferToReceiveAudio set to true, app is getting crashed on setRemoteDescription only if the stream has audio other wise it's working fine.
Getting crash like this: