| | |
| | | public static int Tpye = 0;//类型,0 监控,1反呼 |
| | | |
| | | public static string UUId; |
| | | public static int CallId;//callId 呼叫记录id |
| | | public static string CallId;//callId 呼叫记录id |
| | | public static string CmtID;//cmtID 丰林社区号 |
| | | public static string Roomno;//roomno 丰林房间号 |
| | | public static string Unitno;//unitno 丰林楼栋号 string |
| | |
| | | ESVideoUUID = Intent.GetStringExtra("ESVideoUUID");//室外机UUID,例:JJY000007FSEYX |
| | | DeviceName = Intent.GetStringExtra("DeviceName");//室外机的名称,例,室外机 |
| | | UUId = Intent.GetStringExtra("uuid");// |
| | | CallId = Intent.GetIntExtra("callId", 0); |
| | | CallId = Intent.GetStringExtra("callId"); |
| | | CmtID = Intent.GetStringExtra("cmtID"); |
| | | Roomno = Intent.GetStringExtra("roomno"); |
| | | Unitno = Intent.GetStringExtra("unitno"); |
| | |
| | | mPhone.SetRemoteSurfaceHolder(mRemoteSurfaceHolder, "mRemoteSurfaceHolder!=null"); //设置来电窗口 |
| | | } |
| | | |
| | | ViewGroup v = (ViewGroup)FindViewById(Resource.Id.localVideo); |
| | | ViewGroup v = (ViewGroup)FindViewById(Resource.Id.locaVideo); |
| | | mPhone.SetLocalVideoContainer(v);//设置本地视频窗口,一定要调用,不然后会出现没声音 |
| | | } |
| | | else |
| | |
| | | mPhone = null; |
| | | //mPhone.OnActivityDestroy(); |
| | | } |
| | | |
| | | if (ReverseCallFragment.unlockThread != null) |
| | | { |
| | | try |
| | | { |
| | | // |
| | | ReverseCallFragment.unlockThread.Interrupt(); |
| | | } |
| | | catch { } |
| | | ReverseCallFragment.unlockThread = null; |
| | | } |
| | | |
| | | if (MonitorFragment.thread != null) |
| | | { |
| | | try |
| | | { |
| | | // |
| | | MonitorFragment.thread.Interrupt(); |
| | | } |
| | | catch { } |
| | | MonitorFragment.thread = null; |
| | | } |
| | | } |
| | | |
| | | public override void OnBackPressed() |