From 6c71e8a178d9cb83a178f08e3411090fe8da505d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 五月 2024 15:33:33 +0800 Subject: [PATCH] 删除了萤石功能,埃克斯影音中控,海信电视, --- HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs | 37 +------------------------------------ 1 files changed, 1 insertions(+), 36 deletions(-) diff --git a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs index 88dfbdf..8441526 100644 --- a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs +++ b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs @@ -268,41 +268,6 @@ Shared.Application.Activity.StartActivity(intent); } - else if (interphoneType == InterphoneType.EZVIZ.ToString()) - { - ((BaseActivity)Shared.Application.Activity).SetCamera(b => - { - if (b) - { - intent = new Android.Content.Intent(); - var bundle = new Android.OS.Bundle(); - //浼犻�抧ame鍙傛暟涓簍inyphp - bundle.PutString("EzChildAccessToken", mESVideoInfo.Lc_AccessToken); - bundle.PutString("HdlToken", UserInfo.Current.LoginTokenString); - bundle.PutString("Url", OnAppConfig.Instance.RequestHttpsHost); - bundle.PutString("EzvizAppKey", "1aa98a90489b4838b966b57018b4b04b"); - bundle.PutInt("Platform", 1); - bundle.PutString("HomeId", mESVideoInfo.HomeId); - bundle.PutString("DeviceSerial", mESVideoInfo.DeviceSerial); - intent.PutExtras(bundle); - //鑾峰彇钀ょ煶token锛屽垵濮嬪寲sdk - var result = new HttpServerRequest().EZGetChildToken(); - if (result.Code == StateCode.SUCCESS) - { - var ezChildAccessToken = result.Data.ToString(); - - Com.Videogo.Hdl.HDLEzvizSdk.Instance.Init(Application.Activity.Application, ezChildAccessToken, UserInfo.Current.LoginTokenString, UserInfo.Current.RefreshToken, OnAppConfig.Instance.RequestHttpsHost, "1aa98a90489b4838b966b57018b4b04b", 1, DB_ResidenceData.Instance.CurrentRegion.id); - - Com.Videogo.Hdl.HDLEzvizSdk.Instance.JumpToEZRealPlayActivity(Application.Activity, - mESVideoInfo.Lc_DeviceId, mESVideoInfo.DeviceSerial, mESVideoInfo.spk, mESVideoInfo.msgId); - } - - //intent.SetComponent(new Android.Content.ComponentName(Shared.Application.Activity, "com.videogo.MainActivity")); - //Shared.Application.Activity.StartActivity(intent); - } - }); - return; - } else if (interphoneType == InterphoneType.HDL.ToString()) { //HDL Linphone 鐙勮�愬厠 @@ -896,7 +861,7 @@ /// <summary> /// 钀ょ煶鐚溂鍛煎彨 /// </summary> - EZVIZ, + //EZVIZ, /// <summary> /// 鐙勮�愬厠 HDL Linphone /// </summary> -- Gitblit v1.8.0