Update build
This commit is contained in:
parent
bc2bf24a65
commit
1d7c994036
@ -20373,7 +20373,10 @@ console.log('[URL] ASSET_ID', ASSET_ID, '| ACCOUNT_ID', ACCOUNT_ID, '| callId',
|
||||
console.log('🟩 config', config)
|
||||
|
||||
let socket
|
||||
hub = io(config.hubAddress)
|
||||
|
||||
setTimeout(() => {
|
||||
hub = io(config.hubAddress)
|
||||
}, 2000);
|
||||
|
||||
const connectToMediasoup = () => {
|
||||
|
||||
@ -20395,7 +20398,6 @@ const connectToMediasoup = () => {
|
||||
}
|
||||
|
||||
if (IS_PRODUCER === true) {
|
||||
setTimeout(() => {
|
||||
hub.on('connect', async () => {
|
||||
console.log(`[HUB]! ${config.hubAddress} | connected: ${hub.connected}`)
|
||||
connectToMediasoup()
|
||||
@ -20429,7 +20431,6 @@ if (IS_PRODUCER === true) {
|
||||
}
|
||||
})
|
||||
})
|
||||
}, 2000);
|
||||
|
||||
hub.on('connect_error', (error) => {
|
||||
console.log('connect_error', error);
|
||||
|
Loading…
Reference in New Issue
Block a user