|
|
|
|
@ -28,7 +28,8 @@ Meteor.startup(function() { |
|
|
|
|
if (RocketChat.settings.get('Jitsi_Enabled')) { |
|
|
|
|
// Load from the jitsi meet instance.
|
|
|
|
|
if (typeof JitsiMeetExternalAPI === 'undefined') { |
|
|
|
|
$.getScript('/packages/rocketchat_videobridge/client/public/external_api.js'); |
|
|
|
|
const prefix = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || ''; |
|
|
|
|
$.getScript(`${prefix}/packages/rocketchat_videobridge/client/public/external_api.js`); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Compare current time to call started timeout. If its past then call is probably over.
|
|
|
|
|
|