From 7960485054f37eb60d63a98231686cef41302a8b Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 11 五月 2022 09:13:56 +0800 Subject: [PATCH] 修改部分方法 --- HDLLinPhoneSDK/HDLLinPhoneSDK/HDLCoreManagerDelegate.swift | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLCoreManagerDelegate.swift b/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLCoreManagerDelegate.swift index 12da730..ad397ec 100644 --- a/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLCoreManagerDelegate.swift +++ b/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLCoreManagerDelegate.swift @@ -71,7 +71,9 @@ case .StreamsRunning: if (HDLCallManager.callKitEnabled()) { let uuid = HDLCallManager.instance().providerDelegate.uuids["\(callId!)"] +// print("鎵�鏈塽uids锛歕(HDLCallManager.instance().providerDelegate.uuids)") if (uuid != nil) { + print("鏈塽uid鐨�") let callInfo = HDLCallManager.instance().providerDelegate.callInfos[uuid!] if (callInfo != nil && callInfo!.isOutgoing && !callInfo!.connected) { @@ -88,10 +90,15 @@ HDLCoreManagerDelegate.speaker_already_enabled = true } break + case .OutgoingProgress: + print("OutgoingRinging") + break case .OutgoingRinging: + print("OutgoingRinging") if (HDLCallManager.callKitEnabled()) { let uuid = HDLCallManager.instance().providerDelegate.uuids[""] if (uuid != nil) { +// print("鏈塽uid鐨勶細\(String(describing: uuid))") let callInfo = HDLCallManager.instance().providerDelegate.callInfos[uuid!] callInfo!.callId = callId! HDLCallManager.instance().providerDelegate.callInfos.updateValue(callInfo!, forKey: uuid!) -- Gitblit v1.8.0