bigbluebutton-Github/bigbluebutton-html5/imports/api/deskshare/server/modifiers/handleIncomingDeskshareMessage.js
2016-05-16 13:05:44 -05:00

15 lines
482 B
JavaScript
Executable File

import Meetings from '/imports/api/meetings';
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);
}