Fix for impossible mute since iOS7...

This commit is contained in:
Guillaume BIENKOWSKI 2014-08-11 15:27:28 +02:00
parent eaac4fd7b9
commit 995a3f6de9

View file

@ -754,6 +754,12 @@ static void linphone_iphone_display_status(struct _LinphoneCore * lc, const char
speaker_already_enabled = TRUE;
}
}
if(state == LinphoneCallStreamsRunning ){
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];
}
if (state == LinphoneCallConnected && !mCallCenter) {
/*only register CT call center CB for connected call*/
[self setupGSMInteraction];