diff --git a/public/config.js b/public/config.js index d12c148..fa3612f 100644 --- a/public/config.js +++ b/public/config.js @@ -1,5 +1,4 @@ module.exports = { hubAddress: 'https://hub.dev.linx.safemobile.com/', - mediasoupAddress: 'https://video.safemobile.org/mediasoup', - // mediasoupAddress: 'http://localhost:3000/mediasoup', + mediasoupAddress: 'https://video.safemobile.org', } \ No newline at end of file diff --git a/public/index.js b/public/index.js index 5c3d177..60a48e1 100644 --- a/public/index.js +++ b/public/index.js @@ -12,6 +12,8 @@ let callId = parseInt(urlParams.get('callId')) || null; const IS_PRODUCER = urlParams.get('producer') === 'true' ? true : false console.log('[URL] ASSET_ID', ASSET_ID, '| ACCOUNT_ID', ACCOUNT_ID, '| callId', callId, ' | IS_PRODUCER', IS_PRODUCER) +console.log('🟩 config', config) + let socket hub = io(config.hubAddress)