fix audio disapearance when entering in conferencing mode (callkit issue)

This commit is contained in:
Simon Morlat 2017-11-21 14:02:26 +01:00
parent f69c0f87f9
commit c43cb8c72f

View file

@ -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;
}
}