85ad9a5e30
Add the new ChangeUserPinState messages to handle the new video pinning functionality
11 lines
620 B
JavaScript
11 lines
620 B
JavaScript
import RedisPubSub from '/imports/startup/server/redis';
|
|
import handleUserSharedHtml5Webcam from './handlers/userSharedHtml5Webcam';
|
|
import handleUserUnsharedHtml5Webcam from './handlers/userUnsharedHtml5Webcam';
|
|
import handleFloorChanged from './handlers/floorChanged';
|
|
import handlePinnedChanged from './handlers/userPinChanged';
|
|
|
|
RedisPubSub.on('UserBroadcastCamStartedEvtMsg', handleUserSharedHtml5Webcam);
|
|
RedisPubSub.on('UserBroadcastCamStoppedEvtMsg', handleUserUnsharedHtml5Webcam);
|
|
RedisPubSub.on('AudioFloorChangedEvtMsg', handleFloorChanged);
|
|
RedisPubSub.on('UserPinStateChangedEvtMsg', handlePinnedChanged);
|