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