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

7 lines
364 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';
2017-02-23 00:22:51 +08:00
2017-10-12 05:52:19 +08:00
RedisPubSub.on('ScreenshareRtmpBroadcastStartedEvtMsg', handleScreenshareStarted);
RedisPubSub.on('ScreenshareRtmpBroadcastStoppedEvtMsg', handleScreenshareStopped);