2017-10-12 10:00:28 +08:00
|
|
|
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';
|
2017-08-31 02:00:56 +08:00
|
|
|
import handleMeetingLocksChange from './handlers/meetingLockChange';
|
2020-02-04 04:41:12 +08:00
|
|
|
import handleGuestPolicyChanged from './handlers/guestPolicyChanged';
|
2020-10-03 01:29:27 +08:00
|
|
|
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';
|
2019-01-24 00:13:03 +08:00
|
|
|
import handleTimeRemainingUpdate from './handlers/timeRemainingUpdate';
|
2018-02-06 19:43:14 +08:00
|
|
|
import handleChangeWebcamOnlyModerator from './handlers/webcamOnlyModerator';
|
2020-09-26 03:41:30 +08:00
|
|
|
import handleSelectRandomViewer from './handlers/selectRandomViewer';
|
2021-07-19 22:02:58 +08:00
|
|
|
import handleBroadcastLayout from './handlers/broadcastLayout';
|
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);
|
2018-02-06 19:43:14 +08:00
|
|
|
RedisPubSub.on('WebcamsOnlyForModeratorChangedEvtMsg', handleChangeWebcamOnlyModerator);
|
2019-02-04 23:56:07 +08:00
|
|
|
RedisPubSub.on('GetLockSettingsRespMsg', handleMeetingLocksChange);
|
2020-02-04 04:41:12 +08:00
|
|
|
RedisPubSub.on('GuestPolicyChangedEvtMsg', handleGuestPolicyChanged);
|
2020-10-03 01:29:27 +08:00
|
|
|
RedisPubSub.on('GuestLobbyMessageChangedEvtMsg', handleGuestLobbyMessageChanged);
|
2019-01-24 00:13:03 +08:00
|
|
|
RedisPubSub.on('MeetingTimeRemainingUpdateEvtMsg', handleTimeRemainingUpdate);
|
2020-09-26 03:41:30 +08:00
|
|
|
RedisPubSub.on('SelectRandomViewerRespMsg', handleSelectRandomViewer);
|
2021-07-19 22:02:58 +08:00
|
|
|
RedisPubSub.on('BroadcastLayoutEvtMsg', handleBroadcastLayout);
|