| | |
| | | else if (interphoneType == InterphoneType.HDL.ToString()) |
| | | { |
| | | //HDLLinphone 狄耐克 |
| | | HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, interphoneType); |
| | | //HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, interphoneType); |
| | | } else if (interphoneType == InterphoneType.FREEVIEW.ToString()) |
| | | { |
| | | //全视通监视 |
| | |
| | | else if (interphoneType == InterphoneType.FLVI.ToString()) |
| | | { |
| | | |
| | | intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); |
| | | intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); |
| | | intent.PutExtra("uuid", mESVideoInfo.uuid); |
| | | intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); |
| | | intent.PutExtra("cmtID", mESVideoInfo.cmtID); |
| | | intent.PutExtra("roomno", mESVideoInfo.roomno); |
| | | intent.PutExtra("unitno", mESVideoInfo.unitno); |
| | | intent.PutExtra("HomeID", PirSend.HomeId); |
| | | intent.PutExtra("callId", mESVideoInfo.callId); |
| | | intent.PutExtra("Type", 0); |
| | | //intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); |
| | | //intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); |
| | | //intent.PutExtra("uuid", mESVideoInfo.uuid); |
| | | //intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); |
| | | //intent.PutExtra("cmtID", mESVideoInfo.cmtID); |
| | | //intent.PutExtra("roomno", mESVideoInfo.roomno); |
| | | //intent.PutExtra("unitno", mESVideoInfo.unitno); |
| | | //intent.PutExtra("HomeID", PirSend.HomeId); |
| | | //intent.PutExtra("callId", mESVideoInfo.callId); |
| | | //intent.PutExtra("Type", 0); |
| | | |
| | | |
| | | |
| | |
| | | else if (interphoneType == InterphoneType.HDL.ToString()) |
| | | { |
| | | //HDLLinphone 狄耐克 |
| | | HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.HDL.ToString()); |
| | | //HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.HDL.ToString()); |
| | | } |
| | | else if (interphoneType == InterphoneType.FREEVIEW.ToString()) |
| | | { |
| | | string sip_account = "sip:D" + mESVideoInfo.deviceCode + "@139.159.157.75:46000"; |
| | | //string sip_account = "sip:D" + mESVideoInfo.deviceCode + "@139.159.157.75:46000"; |
| | | |
| | | mESVideoInfo.deviceSipAccount = sip_account; |
| | | HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.FREEVIEW.ToString()); |
| | | //mESVideoInfo.deviceSipAccount = sip_account; |
| | | //HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, InterphoneType.FREEVIEW.ToString()); |
| | | } |
| | | else |
| | | { |
| | |
| | | { |
| | | 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.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); |
| | | //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")); |
| | |
| | | } |
| | | else if (interphoneType == InterphoneType.FLVI.ToString()) |
| | | { |
| | | //待删减不必要参数 |
| | | intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); |
| | | intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); |
| | | intent.PutExtra("uuid", mESVideoInfo.uuid); |
| | | intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); |
| | | intent.PutExtra("cmtID", mESVideoInfo.cmtID); |
| | | intent.PutExtra("roomno", mESVideoInfo.roomno); |
| | | intent.PutExtra("unitno", mESVideoInfo.unitno); |
| | | intent.PutExtra("HomeID", PirSend.HomeId); |
| | | intent.PutExtra("callId", mESVideoInfo.callId); |
| | | intent.PutExtra("Type", 1); |
| | | ////待删减不必要参数 |
| | | //intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); |
| | | //intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); |
| | | //intent.PutExtra("uuid", mESVideoInfo.uuid); |
| | | //intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); |
| | | //intent.PutExtra("cmtID", mESVideoInfo.cmtID); |
| | | //intent.PutExtra("roomno", mESVideoInfo.roomno); |
| | | //intent.PutExtra("unitno", mESVideoInfo.unitno); |
| | | //intent.PutExtra("HomeID", PirSend.HomeId); |
| | | //intent.PutExtra("callId", mESVideoInfo.callId); |
| | | //intent.PutExtra("Type", 1); |
| | | |
| | | Shared.Application.Activity.StartActivity(intent); |
| | | //Shared.Application.Activity.StartActivity(intent); |
| | | } |
| | | else |
| | | { |