bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/eventHandlers.js

19 lines
1.1 KiB
JavaScript
Raw Normal View History

import RedisPubSub from '/imports/startup/server/redis';
2017-06-19 21:13:35 +08:00
import handleMeetingCreation from './handlers/meetingCreation';
2017-07-03 23:05:35 +08:00
import handleGetAllMeetings from './handlers/getAllMeetings';
2017-07-22 03:34:28 +08:00
import handleMeetingEnd from './handlers/meetingEnd';
2017-10-11 02:30:45 +08:00
import handleMeetingDestruction from './handlers/meetingDestruction';
import handleMeetingLocksChange from './handlers/meetingLockChange';
2017-09-07 03:53:07 +08:00
import handleUserLockChange from './handlers/userLockChange';
2017-10-19 18:44:41 +08:00
import handleRecordingStatusChange from './handlers/recordingStatusChange';
import handleChangeWebcamOnlyModerator from './handlers/webcamOnlyModerator';
2017-06-19 21:13:35 +08:00
RedisPubSub.on('MeetingCreatedEvtMsg', handleMeetingCreation);
2017-07-03 23:05:35 +08:00
RedisPubSub.on('SyncGetMeetingInfoRespMsg', handleGetAllMeetings);
2017-07-22 03:34:28 +08:00
RedisPubSub.on('MeetingEndingEvtMsg', handleMeetingEnd);
2017-10-11 02:30:45 +08:00
RedisPubSub.on('MeetingDestroyedEvtMsg', handleMeetingDestruction);
2017-08-31 02:35:40 +08:00
RedisPubSub.on('LockSettingsInMeetingChangedEvtMsg', handleMeetingLocksChange);
2017-09-07 22:31:19 +08:00
RedisPubSub.on('UserLockedInMeetingEvtMsg', handleUserLockChange);
2017-10-19 18:44:41 +08:00
RedisPubSub.on('RecordingStatusChangedEvtMsg', handleRecordingStatusChange);
RedisPubSub.on('WebcamsOnlyForModeratorChangedEvtMsg', handleChangeWebcamOnlyModerator);