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