bigbluebutton-Github/bigbluebutton-html5/imports/api/presentations/server/eventHandlers.js
2016-11-11 19:02:46 +00:00

9 lines
497 B
JavaScript

import RedisPubSub from '/imports/startup/server/redis';
import handlePresentationRemove from './handlers/presentationRemove';
import handlePresentationChange from './handlers/presentationChange';
import handlePresentationInfoReply from './handlers/presentationInfoReply';
RedisPubSub.on('presentation_removed_message', handlePresentationRemove);
RedisPubSub.on('presentation_shared_message', handlePresentationChange);
RedisPubSub.on('get_presentation_info_reply', handlePresentationInfoReply);