bigbluebutton-Github/bigbluebutton-html5/imports/api/video-streams/index.js

17 lines
364 B
JavaScript
Raw Normal View History

2019-09-07 00:50:31 +08:00
import { Meteor } from 'meteor/meteor';
const collectionOptions = Meteor.isClient ? {
connection: null,
} : {};
const VideoStreams = new Mongo.Collection('video-streams', collectionOptions);
2019-09-07 00:50:31 +08:00
if (Meteor.isServer) {
// types of queries for the video users:
// 2. meetingId
VideoStreams.createIndexAsync({ meetingId: 1 });
2019-09-07 00:50:31 +08:00
}
export default VideoStreams;