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

12 lines
366 B
JavaScript
Raw Normal View History

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