Fix variable definition in initializeExternalVideo
This commit is contained in:
parent
47661f2b08
commit
a17b28b23f
@ -19,11 +19,11 @@ export default function initializeExternalVideo(credentials, options) {
|
||||
|
||||
const streamName = `external-videos-${meetingId}`;
|
||||
if (!Meteor.StreamerCentral.instances[streamName]) {
|
||||
streamer = new Meteor.Streamer(streamName);
|
||||
const streamer = new Meteor.Streamer(streamName);
|
||||
streamer.allowRead('all');
|
||||
streamer.allowWrite('all');
|
||||
streamer.allowEmit(allowFromPresenter);
|
||||
} else {
|
||||
Logger.debug('External Video streamer is already created for ', streamName);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user