12 lines
366 B
JavaScript
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;
|
|
}
|