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

28 lines
1.8 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';
import handleGuestLobbyMessageChanged from './handlers/guestLobbyMessageChanged';
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';
2019-01-04 02:14:35 +08:00
import handleRecordingTimerChange from './handlers/recordingTimerChange';
import handleTimeRemainingUpdate from './handlers/timeRemainingUpdate';
import handleChangeWebcamOnlyModerator from './handlers/webcamOnlyModerator';
import handleSelectRandomViewer from './handlers/selectRandomViewer';
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);
2019-01-04 02:14:35 +08:00
RedisPubSub.on('UpdateRecordingTimerEvtMsg', handleRecordingTimerChange);
RedisPubSub.on('WebcamsOnlyForModeratorChangedEvtMsg', handleChangeWebcamOnlyModerator);
RedisPubSub.on('GetLockSettingsRespMsg', handleMeetingLocksChange);
RedisPubSub.on('GuestLobbyMessageChangedEvtMsg', handleGuestLobbyMessageChanged);
RedisPubSub.on('MeetingTimeRemainingUpdateEvtMsg', handleTimeRemainingUpdate);
RedisPubSub.on('SelectRandomViewerRespMsg', handleSelectRandomViewer);