From 505effa88b17ce8c3c7ac5403b76d9e5d0cfc2a5 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 28 十月 2024 11:58:31 +0800
Subject: [PATCH] 谷歌版本问题修复

---
 HDL_ON/Common/ApiUtlis.cs |   61 ------------------------------
 1 files changed, 0 insertions(+), 61 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 7d6dbd5..bb5653a 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -412,69 +412,8 @@
                                         {
                                             UI.UI2.PersonalCenter.PirDevice.PirSend.LcSubAccessToken = video.subAccountToken;
                                         }
-                                        else if (video.interphoneType == InterphoneType.HDL.ToString())
-                                        {
-                                            isInterphoneType_HDL = true;
-                                            DB_ResidenceData.Instance.SupportFacePass = true;
-                                            DB_ResidenceData.Instance.SaveResidenceData();
-                                            DB_ResidenceData.Instance.SupportFVDevice = true;
-                                        }
-                                        else if (video.interphoneType == InterphoneType.FREEVIEW.ToString())
-                                        {
-#if __IOS__
-                                            try
-                                            {
-                                                FunctionList.List.videoIntercom.Remove(video);
-                                                --i;
-                                            }catch(Exception ex)
-                                            {
-                                                MainPage.Log("Error", $"ios 鍏ㄨ閫氬紓甯� : {ex.StackTrace}");
-                                            }
-
-#else
-                                            //涓哄叏瑙嗛�氬彲瑙嗗璁�
-                                            DB_ResidenceData.Instance.SupportFacePass = true;
-                                            Entity.DB_ResidenceData.Instance.SupportVisitorManage = true;
-                                            Entity.DB_ResidenceData.Instance.SupportFVDevice = true;
-                                            isInterphoneType_FREEVIEW = true;
-#endif
-                                        }
                                     }
                                 }
-
-
-                                //======================鑾峰彇Sip璐﹀彿骞朵笖鍒濆鍖朣DK鍙瀵硅璁惧鍒楄〃====================
-                                //濡傛灉妫�娴嬬嚎绋嬫病鍚姩锛屾墠缁х画涓嬮潰鎿嶄綔 鍥犱负App鏈夊彲鑳藉垰鍚姩椹笂鏀跺埌鎺ㄩ�佷簡锛岀劧鍚庢墠鎵ц鍒拌繖閲�
-                                if (HDLLinphone.Current.CheckIncomingCallThreadIsNull())
-                                {
-
-                                    //褰撳墠浣忓畢鏄疕DL鍙瀵硅绫诲瀷鐨勮澶�
-                                    if (isInterphoneType_HDL)
-                                    {
-                                        //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
-                                        HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
-                                        callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
-                                        callVideoInfo.InterphoneType = InterphoneType.HDL.ToString();
-                                        HDLLinphone.Current.GetHDLSipInfoAndInitSDK(callVideoInfo);
-                                    }
-                                    else if (isInterphoneType_FREEVIEW)
-                                    {
-                                        //HDLLinphone鍙瀵硅,鑾峰彇Sip璐﹀彿骞跺垵濮嬪寲SDK
-                                        HDLCallVideoInfo callVideoInfo = new HDLCallVideoInfo();
-                                        callVideoInfo.HomeId = DB_ResidenceData.Instance.CurrentRegion.id;
-                                        callVideoInfo.InterphoneType = InterphoneType.FREEVIEW.ToString();
-                                        HDLLinphone.Current.GetHDLSipInfoAndInitSDK(callVideoInfo);
-                                    }
-                                    else
-                                    {
-                                        Utlis.WriteLine("褰撳墠浣忓畢涓嶆敮鎸丠DL鍙瀵硅,閫�鍑虹櫥褰曟墍鏈夎处鍙�");
-                                        //褰撳墠浣忓畢涓嶆敮鎸丠DL鍙瀵硅
-                                        HDLLinphone.Current.LogoutAllAccount();
-                                    }
-                                }
-
-
-
                                 //======================鐧诲綍鍏ㄨ閫�====================
                                 if (isInterphoneType_FREEVIEW)
                                 {

--
Gitblit v1.8.0