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

7 lines
366 B
JavaScript
Raw Normal View History

2017-07-14 20:32:15 +08:00
import RedisPubSub from '/imports/startup/server/redis2x';
import handleScreenshareStarted from './handlers/screenshareStarted';
import handleScreenshareStopped from './handlers/screenshareStopped';
2017-07-14 20:32:15 +08:00
RedisPubSub.on('ScreenshareRtmpBroadcastStartedEvtMsg', handleScreenshareStarted);
RedisPubSub.on('ScreenshareRtmpBroadcastStoppedEvtMsg', handleScreenshareStopped);