mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
call already ended
This commit is contained in:
parent
0bf5f0dfd3
commit
53004f0272
1 changed files with 5 additions and 0 deletions
|
|
@ -135,6 +135,11 @@ class ProviderDelegate: NSObject {
|
|||
func endCallNotExist(uuid: UUID, timeout: DispatchTime) {
|
||||
DispatchQueue.main.asyncAfter(deadline: timeout) {
|
||||
let callId = CallManager.instance().providerDelegate.callInfos[uuid]?.callId
|
||||
if (callId == nil) {
|
||||
// callkit already ended
|
||||
return
|
||||
}
|
||||
|
||||
let call = CallManager.instance().callByCallId(callId: callId)
|
||||
if (call == nil) {
|
||||
Log.directLog(BCTBX_LOG_MESSAGE, text: "CallKit: terminate call with call-id: \(String(describing: callId)) and UUID: \(uuid) which does not exist.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue