/// <summary> /// 通话结束事件回调函数 /// </summary> /// <param name="para"></param> public void UCAVSessionClosed(STMsgAVSessionClosedParam para) { LogManager.SystemLog.Debug("UCAVSessionClosed"); this.isConnected = false; //modify by jinyeqing 2015/6/8 Dispatcher.BeginInvoke(new Action(() => { if (winCall != null) { winCall.Close(); } if (receive != null) { receive.Close(); } })); if (timer != null && timer.Enabled) { timer.Enabled = false; } i = 0; //modify by 00327190 2015/6/23 将i置为0,这样就会避免第二次之后的设置Video图片失败 (654行) }
static void AVSessionClosedCBMethod(ref STMsgAVSessionClosedParam _avParam) { if (AVSessionClosed != null) { AVSessionClosed(_avParam); } }