Search code examples
iphoneavaudioplayerspeaker

iPhone, is it possible to play a sound from the speakers while in a call?


I would like to know from some iphone-Audio expert if there is a way to let a sound play through the line in of the microphone, or at least to play from the speaker (not the receiver) during a call.

I've tried different combinations of AVAudioSessionCategory with kAudioSessionProperty_OverrideAudioRoute, but I've noticed that when the iphone is in a call, it plays sounds only through the receiver.

My best try for the moment is to pick the call in speaker mode, and put the AVSession sound in AVAudioSessionCategoryAmbient, but the result is too bad.

I repeat: i would like to play a sounds through the speaker while listening the call through the receiver.

I've used this in: http://www.pallaudio.com , the app that lets you lie at the phone!


Solution

  • ok, after long finding, the answer is simply: NO!