0365018e92
Moderators are able to send a message to the meeting's guest lobby. This new event reaches bbb-web and is sent to the guest user with her/his status response while polling. All guest users that are waiting for acceptance will be able to read this message. enableGuestLobbyMessage is disabled by default.
28 lines
1.8 KiB
JavaScript
28 lines
1.8 KiB
JavaScript
import RedisPubSub from '/imports/startup/server/redis';
|
|
import handleMeetingCreation from './handlers/meetingCreation';
|
|
import handleGetAllMeetings from './handlers/getAllMeetings';
|
|
import handleMeetingEnd from './handlers/meetingEnd';
|
|
import handleMeetingDestruction from './handlers/meetingDestruction';
|
|
import handleMeetingLocksChange from './handlers/meetingLockChange';
|
|
import handleGuestLobbyMessageChanged from './handlers/guestLobbyMessageChanged';
|
|
import handleUserLockChange from './handlers/userLockChange';
|
|
import handleRecordingStatusChange from './handlers/recordingStatusChange';
|
|
import handleRecordingTimerChange from './handlers/recordingTimerChange';
|
|
import handleTimeRemainingUpdate from './handlers/timeRemainingUpdate';
|
|
import handleChangeWebcamOnlyModerator from './handlers/webcamOnlyModerator';
|
|
import handleSelectRandomViewer from './handlers/selectRandomViewer';
|
|
|
|
RedisPubSub.on('MeetingCreatedEvtMsg', handleMeetingCreation);
|
|
RedisPubSub.on('SyncGetMeetingInfoRespMsg', handleGetAllMeetings);
|
|
RedisPubSub.on('MeetingEndingEvtMsg', handleMeetingEnd);
|
|
RedisPubSub.on('MeetingDestroyedEvtMsg', handleMeetingDestruction);
|
|
RedisPubSub.on('LockSettingsInMeetingChangedEvtMsg', handleMeetingLocksChange);
|
|
RedisPubSub.on('UserLockedInMeetingEvtMsg', handleUserLockChange);
|
|
RedisPubSub.on('RecordingStatusChangedEvtMsg', handleRecordingStatusChange);
|
|
RedisPubSub.on('UpdateRecordingTimerEvtMsg', handleRecordingTimerChange);
|
|
RedisPubSub.on('WebcamsOnlyForModeratorChangedEvtMsg', handleChangeWebcamOnlyModerator);
|
|
RedisPubSub.on('GetLockSettingsRespMsg', handleMeetingLocksChange);
|
|
RedisPubSub.on('GuestLobbyMessageChangedEvtMsg', handleGuestLobbyMessageChanged);
|
|
RedisPubSub.on('MeetingTimeRemainingUpdateEvtMsg', handleTimeRemainingUpdate);
|
|
RedisPubSub.on('SelectRandomViewerRespMsg', handleSelectRandomViewer);
|