From 7381c4d7cde1ffec2538ed3d30efaab332e31d41 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 20 Aug 2014 14:05:45 +0200 Subject: [PATCH] Revert mute fix: it actually slows down the audio too much. We'll have to find another solution. --- Classes/LinphoneManager.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 3ec024dd7..6e759060d 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -755,11 +755,6 @@ static void linphone_iphone_display_status(struct _LinphoneCore * lc, const char } } - 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];