LH-265-enable-audio-in-mediasoup #16
@ -20397,7 +20397,7 @@ const connectToMediasoup = () => {
|
|||||||
if (IS_PRODUCER === true) {
|
if (IS_PRODUCER === true) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
hub.on('connect', async () => {
|
hub.on('connect', async () => {
|
||||||
console.log(`[HUB] ${config.hubAddress} | connected: ${hub.connected}`)
|
console.log(`[HUB]! ${config.hubAddress} | connected: ${hub.connected}`)
|
||||||
connectToMediasoup()
|
connectToMediasoup()
|
||||||
|
|
||||||
hub.emit(
|
hub.emit(
|
||||||
|
@ -39,7 +39,7 @@ const connectToMediasoup = () => {
|
|||||||
if (IS_PRODUCER === true) {
|
if (IS_PRODUCER === true) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
hub.on('connect', async () => {
|
hub.on('connect', async () => {
|
||||||
console.log(`[HUB] ${config.hubAddress} | connected: ${hub.connected}`)
|
console.log(`[HUB]! ${config.hubAddress} | connected: ${hub.connected}`)
|
||||||
connectToMediasoup()
|
connectToMediasoup()
|
||||||
|
|
||||||
hub.emit(
|
hub.emit(
|
||||||
|
Loading…
Reference in New Issue
Block a user