From d74ca60510ca40b39ff49029ac7c059fd92b08b9 Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期一, 13 六月 2022 10:45:10 +0800 Subject: [PATCH] 2022-06-13 --- HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs index dd1c235..5110263 100644 --- a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs +++ b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs @@ -129,7 +129,7 @@ if (interphoneType == InterphoneType.IMOUVISIAL.ToString()) { intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.LeChengVideoActivity)); - + //=========涔愭========== intent.PutExtra("Type", 0); intent.PutExtra("callId", mESVideoInfo.callId); @@ -156,22 +156,25 @@ intent.PutExtra("callId", mESVideoInfo.callId); intent.PutExtra("Type", 0); - + Shared.Application.Activity.StartActivity(intent); } else if (interphoneType == InterphoneType.HDL.ToString()) { //HDLLinphone 鐙勮�愬厠 - HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo); + HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.HDL.ToString()); + } + else if (interphoneType == InterphoneType.FREEVIEW.ToString()) + { + string sip_account = "sip:D" + mESVideoInfo.deviceCode + "@139.159.157.75:46000"; + mESVideoInfo.deviceSipAccount = sip_account; + HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.FREEVIEW.ToString()); } else { HDLUtils.WriteLine("鏈鎺ワ紝涓嶆敮鎸佺洃瑙�"); } - - - #endif } -- Gitblit v1.8.0