From 0fc2962749e7e1f4078717a9914ac8175a2c4b26 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 26 九月 2024 20:53:55 +0800
Subject: [PATCH] 可视对讲,注册

---
 HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs b/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
index 02610db..d17ae52 100644
--- a/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
+++ b/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
@@ -523,9 +523,16 @@
         /// 鏀跺埌鎺ㄩ�侊紝鍚庡垽鏂懠鍙綇瀹呮槸鍚︿负褰撳墠浣忓畢锛屼笉鏄殑璇濋噸鏂拌幏鍙朣IP璐﹀彿骞剁櫥褰�
         /// </summary>
         /// <param name="mESVideoInfo"></param>
-        public void ShowESVideoIntercom(ESVideoInfo mESVideoInfo,string mInterphoneType)
+        public void ShowESVideoIntercom(ESVideoInfo mESVideoInfo,string mInterphoneType, bool  isNotificationGoing = false)
         {
-            if(this.mHDLCallVideoInfo != null)
+#if __ANDROID__
+            //isNotificationGoing鍙傛暟鏄笓闂ㄧ粰瀹夊崜浣跨敤鐨勶紝鍥犱负瀹夊崜鍦ㄥ悗闈㈢殑鏃跺�欏凡缁忓惎鍔ㄤ簡鎺ュ惉鐨勭晫闈簡锛屼粠閫氱煡鏍忚繘鏉ョ殑鏃跺�欙紝callid宸茬粡琚娇鐢ㄤ簡锛屾墍浠ヨ閲嶇疆鎺夎繖涓睘鎬�
+            if (isNotificationGoing)
+            {
+                this.mHDLCallVideoInfo.CallId = "";
+            }
+#endif
+            if (this.mHDLCallVideoInfo != null)
             {
                 if(this.mHDLCallVideoInfo.CallId == mESVideoInfo.callId)
                 {
@@ -588,6 +595,7 @@
                     intent.PutExtra("lpTitleName", mHDLCallVideoInfo.DeviceName);
                     intent.PutExtra("lpSipAccount", mHDLCallVideoInfo.DeviceSipAccount);
                 }
+                MainPage.Log("鍚姩鑷爺鍙瀵硅鐣岄潰");
                 Shared.Application.Activity.StartActivity(intent);
 #endif
             }

--
Gitblit v1.8.0