bigbluebutton-Github/bigbluebutton-html5/imports/api/deskshare/server/modifiers/handleIncomingDeskshareMessage.js
2016-05-12 17:43:59 +00:00

15 lines
521 B
JavaScript

import Meetings from '/imports/api/meetings/collection';
export function handleIncomingDeskshareMessage(arg) {
const payload = arg.payload;
const voiceBridge = Meetings.findOne({ meetingId: payload.meetingId }).voiceConf;
const thisMeetingId = payload.meetingId;
const deskShareInfo = {
vw: payload.vw,
vh: payload.vh,
voice_bridge: voiceBridge, // payload.voice_bridge
broadcasting: payload.broadcasting,
};
handleDeskShareChange(thisMeetingId, deskShareInfo);
}