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

12 lines
366 B
JavaScript

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