2018-11-30 01:24:02 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
2019-10-23 04:15:53 +08:00
|
|
|
let streamer = null;
|
|
|
|
const getStreamer = (meetingID) => {
|
|
|
|
if (!streamer) {
|
|
|
|
streamer = new Meteor.Streamer(`external-videos-${meetingID}`);
|
|
|
|
}
|
|
|
|
return streamer;
|
|
|
|
};
|
2018-11-30 01:24:02 +08:00
|
|
|
|
2019-10-23 04:15:53 +08:00
|
|
|
export { getStreamer };
|