bigbluebutton-Github/bigbluebutton-html5/imports/api/voice-users/server/methods.js

13 lines
444 B
JavaScript
Raw Normal View History

2017-08-01 23:00:07 +08:00
import { Meteor } from 'meteor/meteor';
2017-08-05 04:05:18 +08:00
import muteToggle from './methods/muteToggle';
2018-09-29 05:32:52 +08:00
import muteAllToggle from './methods/muteAllToggle';
import muteAllExceptPresenterToggle from './methods/muteAllExceptPresenterToggle';
2017-12-09 00:40:52 +08:00
import ejectUserFromVoice from './methods/ejectUserFromVoice';
2017-08-01 23:00:07 +08:00
Meteor.methods({
2017-08-05 04:05:18 +08:00
toggleVoice: muteToggle,
2018-09-29 05:32:52 +08:00
muteAllUsers: muteAllToggle,
muteAllExceptPresenter: muteAllExceptPresenterToggle,
2017-12-09 00:40:52 +08:00
ejectUserFromVoice,
});