From c43cb8c72f7550c916dd6d595f007d8f4b8c012b Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 21 Nov 2017 14:02:26 +0100 Subject: [PATCH] fix audio disapearance when entering in conferencing mode (callkit issue) --- Classes/ProviderDelegate.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/ProviderDelegate.m b/Classes/ProviderDelegate.m index 6178d2f85..276273131 100644 --- a/Classes/ProviderDelegate.m +++ b/Classes/ProviderDelegate.m @@ -209,11 +209,12 @@ LinphoneManager.instance.speakerBeforePause = LinphoneManager.instance.speakerEnabled; linphone_call_pause((LinphoneCall *)call); } else { - [self configAudioSession:[AVAudioSession sharedInstance]]; + if (linphone_core_get_conference(LC)) { linphone_core_enter_conference(LC); [NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallUpdate object:self]; } else { + [self configAudioSession:[AVAudioSession sharedInstance]]; self.pendingCall = call; } }