bigbluebutton-Github/bigbluebutton-html5/imports/api/screenshare/server/handlers/screenshareStarted.js

10 lines
301 B
JavaScript
Raw Normal View History

2017-07-14 20:32:15 +08:00
import { check } from 'meteor/check';
import addScreenshare from '../modifiers/addScreenshare';
2017-07-14 20:32:15 +08:00
export default async function handleScreenshareStarted({ body }, meetingId) {
2017-07-14 20:32:15 +08:00
check(meetingId, String);
2017-07-14 22:18:46 +08:00
check(body, Object);
const result = await addScreenshare(meetingId, body);
return result;
2017-07-14 20:32:15 +08:00
}