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

7 lines
372 B
JavaScript
Raw Normal View History

import RedisPubSub from '/imports/startup/server/redis';
2017-09-01 23:26:57 +08:00
import handleUserSharedHtml5Webcam from './handlers/userSharedHtml5Webcam';
import handleUserUnsharedHtml5Webcam from './handlers/userUnsharedHtml5Webcam';
2017-09-19 21:53:27 +08:00
RedisPubSub.on('UserBroadcastCamStartedEvtMsg', handleUserSharedHtml5Webcam);
RedisPubSub.on('UserBroadcastCamStoppedEvtMsg', handleUserUnsharedHtml5Webcam);