bigbluebutton-Github/bigbluebutton-html5/imports/api/screenshare/server/eventHandlers.js
2022-01-12 19:36:38 -03:00

9 lines
500 B
JavaScript

import RedisPubSub from '/imports/startup/server/redis';
import handleScreenshareStarted from './handlers/screenshareStarted';
import handleScreenshareStopped from './handlers/screenshareStopped';
import handleScreenshareSync from './handlers/screenshareSync';
RedisPubSub.on('ScreenshareRtmpBroadcastStartedEvtMsg', handleScreenshareStarted);
RedisPubSub.on('ScreenshareRtmpBroadcastStoppedEvtMsg', handleScreenshareStopped);
RedisPubSub.on('SyncGetScreenshareInfoRespMsg', handleScreenshareSync);