From da1805017b9a58f88298776370fa5ac1ecdc6d86 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 18 五月 2021 13:19:48 +0800
Subject: [PATCH] 2021-05-18 1.开锁接口增加cllId

---
 HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
index 812f119..5122a1e 100644
--- a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
+++ b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
@@ -141,7 +141,8 @@
                 //涔愭鍙瀵硅
                 //1.鍒濆鍖朙COpenSDK_Api
                 LCApiKit.SharedInstance().InitSDKOpenApi(mESVideoInfo.Lc_AccessToken);
-                LCApiKit.SharedInstance().CurrentDevicePlayToken = mESVideoInfo.Lc_PlayToken;
+                //2021-05-18 鐩墠鎺ㄩ�佺殑PlayToken;鏈夐棶棰樹細瀵艰嚧SDK宕╂簝锛屾殏鏃朵笉浼�
+                //LCApiKit.SharedInstance().CurrentDevicePlayToken = mESVideoInfo.Lc_PlayToken;
                 LCApiKit.SharedInstance().CurrentDeviceId = mESVideoInfo.Lc_DeviceId;
                 LCApiKit.SharedInstance().CurrentDeviceName = mESVideoInfo.DeviceName;
                 LCApiKit.SharedInstance().CurrentPsk = mESVideoInfo.Lc_DeviceId;
@@ -394,6 +395,7 @@
             {
                 Dictionary<string, object> dic = new Dictionary<string, object>();
                 dic.Add("deviceId", esVideoInfo.Lc_DeviceId);//璁惧id
+                dic.Add("callId", esVideoInfo.callId);
                 var requestJson = HttpUtil.GetSignRequestJson(dic);
                 var revertObj = HttpUtil.RequestHttpsPostFroHome(NewAPI.API_POST_VideoDevice_OpenDoorbell, requestJson);
                 if (revertObj.Code == StateCode.SUCCESS)

--
Gitblit v1.8.0