bigbluebutton-Github/bigbluebutton-html5/imports/api/screenshare/index.js

17 lines
359 B
JavaScript

import { Meteor } from 'meteor/meteor';
const collectionOptions = Meteor.isClient ? {
connection: null,
} : {};
const Screenshare = new Mongo.Collection('screenshare', collectionOptions);
if (Meteor.isServer) {
// types of queries for the screenshare:
// 1. meetingId
Screenshare.createIndexAsync({ meetingId: 1 });
}
export default Screenshare;