| | |
| | | /// 收到推送,后判断呼叫住宅是否为当前住宅,不是的话重新获取SIP账号并登录 |
| | | /// </summary> |
| | | /// <param name="mESVideoInfo"></param> |
| | | public void ShowESVideoIntercom(ESVideoInfo mESVideoInfo,string mInterphoneType) |
| | | public void ShowESVideoIntercom(ESVideoInfo mESVideoInfo,string mInterphoneType, bool isNotificationGoing = false) |
| | | { |
| | | if(this.mHDLCallVideoInfo != null) |
| | | #if __ANDROID__ |
| | | //isNotificationGoing参数是专门给安卓使用的,因为安卓在后面的时候已经启动了接听的界面了,从通知栏进来的时候,callid已经被使用了,所以要重置掉这个属性 |
| | | if (isNotificationGoing) |
| | | { |
| | | this.mHDLCallVideoInfo.CallId = ""; |
| | | } |
| | | #endif |
| | | if (this.mHDLCallVideoInfo != null) |
| | | { |
| | | if(this.mHDLCallVideoInfo.CallId == mESVideoInfo.callId) |
| | | { |
| | |
| | | intent.PutExtra("lpTitleName", mHDLCallVideoInfo.DeviceName); |
| | | intent.PutExtra("lpSipAccount", mHDLCallVideoInfo.DeviceSipAccount); |
| | | } |
| | | MainPage.Log("启动自研可视对讲界面"); |
| | | Shared.Application.Activity.StartActivity(intent); |
| | | #endif |
| | | } |