From 5d358b10622504ad02b042f9b1fdc74bb25d465e Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期二, 28 三月 2023 11:05:26 +0800 Subject: [PATCH] 1.更新HDLFVSDK 2.更新EZSDK.IOS --- HDL_ON/Common/ApiUtlis.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs index a53b729..faa53af 100644 --- a/HDL_ON/Common/ApiUtlis.cs +++ b/HDL_ON/Common/ApiUtlis.cs @@ -314,9 +314,18 @@ //======================鐧诲綍鍏ㄨ閫�==================== if (isInterphoneType_FREEVIEW) { + #if __IOS__ - //鐧诲綍鍏ㄨ閫� - Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id); + var extUserResult = Ins.HttpRequest.GetExtUserId(DB_ResidenceData.Instance.CurrentRegion.id); + if (extUserResult.Code == StateCode.SUCCESS) + { + var data = JsonConvert.DeserializeObject<extUserInfo>(deviceResult.Data.ToString()); + + //鐧诲綍鍏ㄨ閫� + //Shared.IOS.HDLFVSDK.Video.Init("", data.extUserId, DB_ResidenceData.Instance.CurrentRegion.id, "78FF1E4D-FC0A-4E71-9B79-0448E4460BD7", "T0001", "120.77.53.170:9700", "120.77.53.170:21664"); + } + + #endif } -- Gitblit v1.8.0