Update build

This commit is contained in:
Sergiu Toma 2022-11-22 18:28:50 +02:00
parent b621b76e37
commit c730341674

View File

@ -20395,6 +20395,7 @@ const connectToMediasoup = () => {
}
if (IS_PRODUCER === true) {
setTimeout(() => {
hub.on('connect', async () => {
console.log(`[HUB] ${config.hubAddress} | connected: ${hub.connected}`)
connectToMediasoup()
@ -20428,6 +20429,7 @@ if (IS_PRODUCER === true) {
}
})
})
}, 2000);
hub.on('connect_error', (error) => {
console.log('connect_error', error);