Closed JoseIgnacio92 closed 7 years ago
Thanks for the quick reply. I have not tried your solution yet, because I could solve it in the following way
- [audioSession setCategory:AVAudioSessionCategoryRecord error:&audioSessionError];
+ [audioSession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:&audioSessionError];
When it returns the result, something is in memory and the application is listening and that causes the phone to have no sound.
Sorry for my English
Thank you.