2020-02-19 06:03:06 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
|
|
|
const VoiceCallStates = new Mongo.Collection('voiceCallStates');
|
|
|
|
|
|
|
|
if (Meteor.isServer) {
|
|
|
|
// types of queries for the voice users:
|
|
|
|
// 1. intId
|
|
|
|
// 2. meetingId, intId
|
|
|
|
|
2023-03-17 02:37:24 +08:00
|
|
|
VoiceCallStates.createIndexAsync({ meetingId: 1, userId: 1 });
|
2020-02-19 06:03:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default VoiceCallStates;
|