LH-265-enable-audio-in-mediasoup #16
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user