bigbluebutton-Github/bigbluebutton-html5/imports/api/video/server/handlers/userUnsharedHtml5Webcam.js

12 lines
320 B
JavaScript
Raw Normal View History

2017-09-01 23:26:57 +08:00
import unsharedWebcam from '../modifiers/unsharedWebcam';
import { check } from 'meteor/check';
2017-09-01 23:26:57 +08:00
2017-09-19 21:53:27 +08:00
export default function handleUserUnsharedHtml5Webcam({ header, payload }) {
const meetingId = header.meetingId;
const userId = header.userId;
2017-09-01 23:26:57 +08:00
check(meetingId, String);
return unsharedWebcam(meetingId, userId);
}