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

10 lines
301 B
JavaScript

import { check } from 'meteor/check';
import addScreenshare from '../modifiers/addScreenshare';
export default async function handleScreenshareStarted({ body }, meetingId) {
check(meetingId, String);
check(body, Object);
const result = await addScreenshare(meetingId, body);
return result;
}