• 大小: 77.08MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2022-08-06
  • 语言: C/C++
  • 标签: 视频会议  直播  

资源简介

支持一对一,一对多视频会议,分享ppt课件,点名发言,不同房间功能

资源截图

代码片段和文件信息

#include “eventcenter.h“
#include “login/UserLoginWdg.h“
#include “Room/RoomWdg.h“
#include “Video/VideoWin.h“
#include “Video/VideoMgr.h“
#include “Video/VideoMonitorMgr.h“
#include “VideoMonitor/videomonitormain.h“
#include “Room/LeftWdg.h“
#include “Room/WdgNetInfo.h“
#include 
#include 
#include 
IMeetingframe* g_pMeetingframe = NULL;
IZYMediaStreamManager *g_pStreamMgr = NULL;

EventCenter*EventCenter::m_instahce = NULL;
EventCenter* EventCenter::GetInstance()
{

return m_instahce;
}

EventCenter::EventCenter(QWidget *parent Qt::WFlags flags)
: QWidget(parent flags)
{
m_instahce = this;
m_bInRoom = false;
m_roomId = 0;
//setWindowFlags(Qt::framelessWindowHint);//这个是widget的标题栏和边框去掉
//setAttribute(Qt::WA_TranslucentBackground);
this->hide();
//RoomWdg::GetInstance()->CenterWindow();
//RoomWdg::GetInstance()->showMaximized();

UserLoginWdg::GetInstance()->show();
//初始化视频会议框架
CreateMeetingframe(&g_pMeetingframethis(HWND)RoomWdg::GetInstance()->winId()
thisAppSetting::GetInstance()->GetServerAddress().toStdString());
connect(thisSIGNAL(EventLoginSuccess())thisSLOT(On_UI_LoginSuccess()));
connect(thisSIGNAL(EventLoginFailed())UserLoginWdg::GetInstance()SLOT(OnLoginFailed()));
connect(thisSIGNAL(EventAddUser())LeftWdg::GetInstance()SLOT(OnAddUser()));
connect(thisSIGNAL(EventDelUser())LeftWdg::GetInstance()SLOT(OnDelUser()));
connect(thisSIGNAL(EventGetRoomList(int))UserLoginWdg::GetInstance()SLOT(OnGetRoomList(int)));
connect(thisSIGNAL(EventUpdateUI())thisSLOT(OnUpdateUI()));

connect(thisSIGNAL(EventSetSpeaker(bool))thisSLOT(OnSetSpeaker(bool)));
connect(thisSIGNAL(EventSpeakModeChange(int))thisSLOT(OnSpeakModeChange(int)));

connect(thisSIGNAL(EventRoomModeChange(int))thisSLOT(OnRoomModeChange(int)));
connect(thisSIGNAL(EventOnStreamNetInfo(intintint))WdgNetInfo::GetInstance()SLOT(OnNetInfo(intintint)));
connect(thisSIGNAL(EventOnStreamNetInfo(intintint))RoomWdg::GetInstance()SLOT(OnNetInfo(intintint)));
// sean add 收到消息后发送信号
connect(thisSIGNAL(getMessageEvent(unsigned long long QString* 
int unsigned long unsigned long QString *))LeftWdg::GetInstance()SLOT(getMessageFromOthers(unsigned long long QString* int unsigned long unsigned long QString *)));

connect(thisSIGNAL(EventUserOffline(unsigned long long))thisSLOT(OnUserOffline(unsigned long long )));

connect(thisSIGNAL(EventRecvRemoteVideo(unsigned long long))
thisSLOT(OnRecvRemoteVideo(unsigned long long)));

connect(thisSIGNAL(EventSetAsBigVideo(unsigned long long))
thisSLOT(OnSetAsBigVideo(unsigned long long)));
connect(thisSIGNAL(EventEnterRoom(unsigned int))thisSLOT(OnEnterRoom(unsigned int)));
//打开文档
connect(thisSIGNAL(EventOpenDoc(QStringintint))RoomWdg::GetInstance()
SLOT(OnOpenDoc(QStringintint)));
//关闭文档
connect(thisSIGNAL(EventCloseDoc())RoomWdg::GetInstance(

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     218230  2017-10-11 16:52  openmeeting2\app_icon.ico

     文件       3524  2019-01-30 23:58  openmeeting2\AutoUpdate\AutoUpdate.aps

     文件       1200  2017-10-11 16:52  openmeeting2\AutoUpdate\autoupdate.cpp

     文件        603  2017-10-11 16:52  openmeeting2\AutoUpdate\autoupdate.h

     文件       2734  2017-10-11 16:52  openmeeting2\AutoUpdate\AutoUpdate.ico

     文件         70  2017-10-11 16:52  openmeeting2\AutoUpdate\autoupdate.qrc

     文件         49  2017-10-11 16:52  openmeeting2\AutoUpdate\AutoUpdate.rc

     文件       1105  2017-10-11 16:52  openmeeting2\AutoUpdate\autoupdate.ui

     文件      17240  2019-01-30 23:24  openmeeting2\AutoUpdate\AutoUpdate.vcxproj

     文件       3257  2017-10-11 16:52  openmeeting2\AutoUpdate\AutoUpdate.vcxproj.filters

     文件        575  2019-01-30 23:25  openmeeting2\AutoUpdate\AutoUpdate.vcxproj.user

     文件         43  2019-01-30 21:36  openmeeting2\AutoUpdate\Debug\AutoUpdate.lastbuildstate

     文件        918  2019-01-30 21:36  openmeeting2\AutoUpdate\Debug\AutoUpdate.log

     文件          0  2019-01-30 21:36  openmeeting2\AutoUpdate\Debug\AutoUpdate.unsuccessfulbuild

     文件       2324  2019-01-30 21:36  openmeeting2\AutoUpdate\Debug\custombuild.command.1.tlog

     文件          2  2019-01-30 21:36  openmeeting2\AutoUpdate\Debug\custombuild.read.1.tlog

     文件          2  2019-01-30 21:36  openmeeting2\AutoUpdate\Debug\custombuild.write.1.tlog

     文件       1972  2017-10-11 16:52  openmeeting2\AutoUpdate\downloadthread.cpp

     文件        810  2017-10-11 16:52  openmeeting2\AutoUpdate\downloadthread.h

     文件        692  2019-01-30 23:25  openmeeting2\AutoUpdate\GeneratedFiles\qrc_autoupdate.cpp

     文件       3110  2019-01-30 23:25  openmeeting2\AutoUpdate\GeneratedFiles\Release\moc_autoupdate.cpp

     文件       4025  2019-01-30 23:25  openmeeting2\AutoUpdate\GeneratedFiles\Release\moc_downloadthread.cpp

     文件       2118  2019-01-30 23:25  openmeeting2\AutoUpdate\GeneratedFiles\ui_autoupdate.h

     文件        606  2017-10-11 16:52  openmeeting2\AutoUpdate\main.cpp

     文件        269  2019-01-30 23:14  openmeeting2\AutoUpdate\Release\AutoUpdate.Build.CppClean.log

     文件        381  2019-01-30 23:49  openmeeting2\AutoUpdate\Release\AutoUpdate.exe.intermediate.manifest

     文件         45  2019-01-30 23:49  openmeeting2\AutoUpdate\Release\AutoUpdate.lastbuildstate

     文件       2032  2019-01-30 23:49  openmeeting2\AutoUpdate\Release\AutoUpdate.log

     文件     127943  2019-01-30 23:25  openmeeting2\AutoUpdate\Release\autoupdate.obj

     文件       2904  2019-01-30 23:25  openmeeting2\AutoUpdate\Release\AutoUpdate.res

............此处省略1753个文件信息

评论

共有 条评论

相关资源