bigbluebutton-Github/bigbluebutton-html5/imports/api/external-videos/index.js

12 lines
237 B
JavaScript
Raw Normal View History

import { Meteor } from 'meteor/meteor';
let streamer = null;
const getStreamer = (meetingID) => {
if (!streamer) {
streamer = new Meteor.Streamer(`external-videos-${meetingID}`);
}
return streamer;
};
export { getStreamer };