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/HDLLinphoneIntercomVC.m |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneIntercomVC.m b/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneIntercomVC.m
index a2556a8..ad92e58 100644
--- a/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneIntercomVC.m
+++ b/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneIntercomVC.m
@@ -67,7 +67,7 @@
     [self initCentetView];
     [self initData];
     [self initESVideo];
-    //寮�濮嬪弽鍛�
+    //寮�濮嬮渿鍔�
     [self StartReverseCall];
     [self ShowCalltimeBtn:callingStr];
     //娉ㄥ唽寮�閿佹垚鍔熺洃鍚�
@@ -252,6 +252,7 @@
     [_screenshotImgBtn setImage:[UIImage imageNamed:@"ic_esvideo_on_takephoto_unselect"] forState:UIControlStateNormal];
     
     //鎴浘
+    [HDLLinphoneManager.instance snapShotWithView:self.videoView];
     
 }
 
@@ -346,7 +347,7 @@
 //    [[HDLCallManager instance] acceptCallByCallID:self.CallId hasVideo:self.hasVideo];
     [[HDLLinphoneManager instance] acceptCall];
     /// 寮�鍚璁�
-    [self startTalk];
+//    [self startTalk];
     
     _answerImgBtn.hidden = YES;
     _answerTextBtn.hidden = YES;
@@ -519,7 +520,7 @@
 /** 寮�鍚�掕鏃� */
 - (void)startOpenDoorCountdown {
     
-    if (_openDoorTimeout > 20) {
+    if (_openDoorTimeout > 10) {
         return;
     }
     
@@ -534,7 +535,7 @@
     
     dispatch_source_set_event_handler(_openDoorTimer, ^{
         WEAKSELF_AT
-        if(weakSelf_AT.openDoorTimeout >= 20 ){// 璁℃椂缁撴潫
+        if(weakSelf_AT.openDoorTimeout >= 10 ){// 璁℃椂缁撴潫
             // 鍏抽棴瀹氭椂鍣�
             dispatch_source_cancel(weakSelf_AT.openDoorTimer);
             

--
Gitblit v1.8.0