LINXD-2209: Move getRtpCapa outside of room creation
This commit is contained in:
parent
817a49204d
commit
25a76c343b
2
app.js
2
app.js
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user