bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/voice-users/index.js

15 lines
329 B
JavaScript
Raw Normal View History

import { Meteor } from 'meteor/meteor';
const VoiceUsers = new Mongo.Collection('voiceUsers');
if (Meteor.isServer) {
// types of queries for the voice users:
// 1. intId
// 2. meetingId, intId
VoiceUsers._ensureIndex({ intId: 1 });
VoiceUsers._ensureIndex({ meetingId: 1, intId: 1 });
}
export default VoiceUsers;