10 lines
301 B
JavaScript
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;
|
|
}
|