bigbluebutton-Github/bigbluebutton-html5/imports/api/video-streams/server/methods.js
prlanzarin 21c124b854 feat(webcams): server-side logic to allow moderators to close user's webcams
Includes a new create param/web conf called allowModsToEjectCameras, false by
default.

Ejection does not work in breakout rooms or with non-mod users

Ejection closes _all_ webcams shared by the target user
2021-12-13 19:49:41 +00:00

11 lines
299 B
JavaScript

import { Meteor } from 'meteor/meteor';
import userShareWebcam from './methods/userShareWebcam';
import userUnshareWebcam from './methods/userUnshareWebcam';
import ejectUserCameras from './methods/ejectUserCameras';
Meteor.methods({
userShareWebcam,
userUnshareWebcam,
ejectUserCameras,
});