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

9 lines
493 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';
import handleFloorChanged from './handlers/floorChanged';
2017-09-01 23:26:57 +08:00
2017-09-19 21:53:27 +08:00
RedisPubSub.on('UserBroadcastCamStartedEvtMsg', handleUserSharedHtml5Webcam);
RedisPubSub.on('UserBroadcastCamStoppedEvtMsg', handleUserUnsharedHtml5Webcam);
RedisPubSub.on('AudioFloorChangedEvtMsg', handleFloorChanged);