From 8fb1bc18bad99b2de79783848b41d07da01315a7 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 01 九月 2021 17:04:05 +0800
Subject: [PATCH] 采用纯oc sdk解决版本适配问题;解决呼叫不能截屏问题
---
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