8e822f4a6d
A TODO 5 years in the making
9 lines
500 B
JavaScript
9 lines
500 B
JavaScript
import RedisPubSub from '/imports/startup/server/redis';
|
|
import handleScreenshareStarted from './handlers/screenshareStarted';
|
|
import handleScreenshareStopped from './handlers/screenshareStopped';
|
|
import handleScreenshareSync from './handlers/screenshareSync';
|
|
|
|
RedisPubSub.on('ScreenshareRtmpBroadcastStartedEvtMsg', handleScreenshareStarted);
|
|
RedisPubSub.on('ScreenshareRtmpBroadcastStoppedEvtMsg', handleScreenshareStopped);
|
|
RedisPubSub.on('SyncGetScreenshareInfoRespMsg', handleScreenshareSync);
|