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

9 lines
500 B
JavaScript
Raw Normal View History

import RedisPubSub from '/imports/startup/server/redis';
2017-10-12 05:52:19 +08:00
import handleScreenshareStarted from './handlers/screenshareStarted';
import handleScreenshareStopped from './handlers/screenshareStopped';
import handleScreenshareSync from './handlers/screenshareSync';
2017-02-23 00:22:51 +08:00
2017-10-12 05:52:19 +08:00
RedisPubSub.on('ScreenshareRtmpBroadcastStartedEvtMsg', handleScreenshareStarted);
RedisPubSub.on('ScreenshareRtmpBroadcastStoppedEvtMsg', handleScreenshareStopped);
RedisPubSub.on('SyncGetScreenshareInfoRespMsg', handleScreenshareSync);