| | |
| | | if (isInterphoneType_FREEVIEW) |
| | | { |
| | | #if __IOS__ |
| | | //登录全视通 |
| | | Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id); |
| | | List<VisitorTempPassword> dataList = new List<VisitorTempPassword>(); |
| | | Dictionary<string, object> dictionary = new Dictionary<string, object>(); |
| | | dictionary.Add("homeId", Entity.DB_ResidenceData.Instance.CurrentRegion.id); |
| | | var requestJson = HttpUtil.GetSignRequestJson(dictionary); |
| | | ResponsePackNew pack = HttpUtil.RequestHttpsPost(NewAPI.Api_Post_GetExtMemberInfo, requestJson); |
| | | if(pack!= null) |
| | | { |
| | | var data = Newtonsoft.Json.JsonConvert.DeserializeObject<FreeviewMemberInfo>(pack.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 |
| | | } |
| | | |