fix local conference crash when pausing/resuming

This commit is contained in:
Danmei Chen 2022-02-10 17:02:34 +01:00
parent b902216921
commit 445162792b

View file

@ -94,7 +94,7 @@
break;
}
case UIPauseButtonType_Conference: {
linphone_core_leave_conference(CallManager.instance.getConference);
linphone_conference_leave(CallManager.instance.getConference);
// Fake event
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallUpdate object:self];
break;
@ -131,7 +131,7 @@
break;
}
case UIPauseButtonType_Conference: {
linphone_core_enter_conference(CallManager.instance.getConference);
linphone_conference_enter(CallManager.instance.getConference);
// Fake event
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallUpdate object:self];
break;