public void PPTControl(string conferenceName, string controler) { lock (objPPTControl) { try { //会议名称不为空 if (string.IsNullOrEmpty(conferenceName)) { return; } PPTControlEntity pPTControlEntity = new PPTControlEntity(); pPTControlEntity.Controler = controler; //实时同步(发送信息给客户端) this.InformClient4(conferenceName, pPTControlEntity); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } } }
public void PPTControl(int conferenceID, string controler) { lock (objPPTControl) { try { //会议名称不为空 if (conferenceID == 0) { return; } PPTControlEntity pPTControlEntity = new PPTControlEntity(); pPTControlEntity.Controler = controler; //实时同步(发送信息给客户端) this.InformClient(conferenceID, LyncConversationFlgType.PPTControl, pPTControlEntity); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } } }
/// <summary> /// 实时同步(发送信息给客户端) /// </summary> /// <param name="conferenceName">会议名称</param> public void InformClient4(string conferenceName, PPTControlEntity pPTControlEntity) { try { //会议名称不为空 if (!string.IsNullOrEmpty(conferenceName)) { //生成一个数据包(文件甩屏) PackageBase pack = new PackageBase() { ConferenceClientAcceptType = ConferenceWebCommon.Common.ConferenceClientAcceptType.LyncConversationSync, }; pack.LyncConversationFlg.PPTControlEntity = pPTControlEntity; pack.LyncConversationFlg.LyncConversationFlgType = LyncConversationFlgType.PPTControl; //会议通讯节点信息发送管理中心 Constant.SendClientCenterManage(Constant.DicLyncMeetServerSocket, conferenceName, pack); } } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } }