bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/screenshare/server/handlers/startedVoice.js
2017-07-14 11:18:46 -03:00

13 lines
319 B
JavaScript

import { check } from 'meteor/check';
import addVoiceUser from '../modifiers/addVoiceUser';
export default function handleStartedVoice({ body }, meetingId) {
check(meetingId, String);
const { screenshareConf } = body;
check(screenshareConf, String);
return addVoiceUser(meetingId, screenshareConf, body);
}