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