2017-09-01 23:26:57 +08:00
|
|
|
import unsharedWebcam from '../modifiers/unsharedWebcam';
|
2017-11-18 02:55:59 +08:00
|
|
|
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);
|
|
|
|
}
|