2017-07-14 20:32:15 +08:00
|
|
|
import { check } from 'meteor/check';
|
2017-07-27 23:27:06 +08:00
|
|
|
import clearScreenshare from '../modifiers/clearScreenshare';
|
2017-07-14 20:32:15 +08:00
|
|
|
|
2017-09-09 01:00:00 +08:00
|
|
|
export default 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);
|
|
|
|
|
2017-07-27 23:27:06 +08:00
|
|
|
return clearScreenshare(meetingId, screenshareConf);
|
2017-07-14 20:32:15 +08:00
|
|
|
}
|