mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Quicker count of CallKitcalls
This commit is contained in:
parent
03540a8b69
commit
d20aa3382c
2 changed files with 1 additions and 1 deletions
|
|
@ -2626,6 +2626,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
if (linphone_core_get_calls_nb(theLinphoneCore) < 1 &&
|
||||
floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_9_x_Max &&
|
||||
self.providerDelegate.callKitCalls < 1) {
|
||||
self.providerDelegate.callKitCalls++;
|
||||
NSUUID *uuid = [NSUUID UUID];
|
||||
[LinphoneManager.instance.providerDelegate.uuids setObject:uuid forKey:@""];
|
||||
LinphoneManager.instance.providerDelegate.pendingAddr = linphone_address_clone(iaddr);
|
||||
|
|
|
|||
|
|
@ -97,7 +97,6 @@
|
|||
|
||||
- (void)provider:(CXProvider *)provider performStartCallAction:(CXStartCallAction *)action {
|
||||
LOGD(@"CallKit : Starting Call");
|
||||
self.callKitCalls++;
|
||||
// To restart Audio Unit
|
||||
[self configAudioSession:[AVAudioSession sharedInstance]];
|
||||
[action fulfill];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue