2017-10-12 10:00:28 +08:00
|
|
|
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);
|