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';
|
2022-01-13 06:35:49 +08:00
|
|
|
import handleScreenshareSync from './handlers/screenshareSync';
|
2017-02-23 00:22:51 +08:00
|
|
|
|
2017-10-12 05:52:19 +08:00
|
|
|
RedisPubSub.on('ScreenshareRtmpBroadcastStartedEvtMsg', handleScreenshareStarted);
|
|
|
|
RedisPubSub.on('ScreenshareRtmpBroadcastStoppedEvtMsg', handleScreenshareStopped);
|
2022-01-13 06:35:49 +08:00
|
|
|
RedisPubSub.on('SyncGetScreenshareInfoRespMsg', handleScreenshareSync);
|