bigbluebutton-Github/bigbluebutton-html5/imports/api/external-videos/server/handlers/stopExternalVideo.js

12 lines
314 B
JavaScript

import { check } from 'meteor/check';
import stopExternalVideo from '../modifiers/stopExternalVideo';
export default async function handleStopExternalVideo({ header }, meetingId) {
check(header, Object);
check(meetingId, String);
const { userId } = header;
await stopExternalVideo(userId, meetingId);
}