2017-11-18 02:55:59 +08:00
|
|
|
import RedisPubSub from '/imports/startup/server/redis';
|
2017-09-01 23:26:57 +08:00
|
|
|
import handleUserSharedHtml5Webcam from './handlers/userSharedHtml5Webcam';
|
|
|
|
import handleUserUnsharedHtml5Webcam from './handlers/userUnsharedHtml5Webcam';
|
2021-04-09 10:58:13 +08:00
|
|
|
import handleFloorChanged from './handlers/floorChanged';
|
2017-09-01 23:26:57 +08:00
|
|
|
|
2017-09-19 21:53:27 +08:00
|
|
|
RedisPubSub.on('UserBroadcastCamStartedEvtMsg', handleUserSharedHtml5Webcam);
|
|
|
|
RedisPubSub.on('UserBroadcastCamStoppedEvtMsg', handleUserUnsharedHtml5Webcam);
|
2021-04-09 10:58:13 +08:00
|
|
|
RedisPubSub.on('AudioFloorChangedEvtMsg', handleFloorChanged);
|