bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/screenshare/server/handlers/broadcastStopped.js

11 lines
293 B
JavaScript
Raw Normal View History

2017-07-14 20:32:15 +08:00
import { check } from 'meteor/check';
2017-07-14 22:18:46 +08:00
import clearBroadcast from '../modifiers/clearBroadcast';
2017-07-14 20:32:15 +08:00
2017-07-14 22:18:46 +08:00
export default function handleBroadcastStartedVoice({ body }, meetingId) {
2017-07-14 20:32:15 +08:00
check(meetingId, String);
2017-07-14 22:18:46 +08:00
const { screenshareConf } = body;
return clearBroadcast(meetingId, screenshareConf);
2017-07-14 20:32:15 +08:00
}