From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:50:43 +0800
Subject: [PATCH] Revert "1"

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

diff --git a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
index 812f119..b6ad254 100644
--- a/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
+++ b/HDL_ON/DAL/ThirdPartySdk/ESOnVideo.cs
@@ -48,7 +48,7 @@
         public ESVideoInfo esVideoInfo;
 
         /// <summary>
-        /// 
+        /// 鏆傛椂娌$敤
         /// </summary>
         public void InitESVideoSDK()
         {
@@ -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)
@@ -458,13 +460,19 @@
         OnESCallDelegate mOnESCallDelegate;
 
         /// <summary>
-        /// 
+        /// iOS鍘熺敓濮旀墭浜嬩欢
         /// </summary>
         public class OnESCallDelegate : ESCallDelegate
         {
-
+            /// <summary>
+            /// ESOnVideo
+            /// </summary>
             [Weak] ESOnVideo _ESOnVideo;
 
+            /// <summary>
+            /// 鍒濆鍖�
+            /// </summary>
+            /// <param name="mESOnVideo">鍛煎彨鐩稿叧鐨勫弬鏁�</param>
             public OnESCallDelegate(ESOnVideo mESOnVideo)
             {
                 _ESOnVideo = mESOnVideo;

--
Gitblit v1.8.0