mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix for impossible mute since iOS7...
This commit is contained in:
parent
eaac4fd7b9
commit
995a3f6de9
1 changed files with 6 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue