Пример #1
0
        private void HandleVideoStop(MessageEntity ReceiveMsg)//处理VideoStop类信息
        {
            AccessMethod AccMethod = new AccessMethod();
            var          Frm       = AccMethod.FindVideoFrm(ReceiveMsg.Adress, "视频聊天窗口");

            if (Frm != null)
            {
                //消息加入对话窗体控件显示窗体
                VideoTalkFrm frm = (VideoTalkFrm)Frm;
                frm.ColseAV();
            }
        }
Пример #2
0
        private void HandleVideoStart(MessageEntity ReceiveMsg)//处理VideoStart类信息
        {
            AccessMethod AccMethod = new AccessMethod();
            var          Frm       = AccMethod.FindVideoFrm(ReceiveMsg.Adress, "视频聊天窗口");

            if (Frm != null)
            {
                //消息加入对话窗体控件显示窗体
                VideoTalkFrm frm = (VideoTalkFrm)Frm;
                frm.Connect(ReceiveMsg.Adress, int.Parse(ReceiveMsg.Point));
            }
        }