LINXD-2209: Move getRtpCapa outside of room creation

This commit is contained in:
Sergiu Toma 2022-09-13 20:59:12 +03:00
parent 817a49204d
commit 25a76c343b

2
app.js
View File

@ -126,8 +126,8 @@ const mediaCodecs = [
router[callId] = await worker.createRouter({ mediaCodecs })
console.log(`[createRoom] Router ID: ${router[callId].id}`)
console.log('🟡 router', router);
getRtpCapabilities(callId, callback)
}
getRtpCapabilities(callId, callback)
}
}, 4000);