Refactor transportclose 12.5

This commit is contained in:
Sergiu Toma 2022-08-11 14:45:25 +03:00
parent cd8153e3e7
commit 6d8f22939a

2
app.js
View File

@ -109,7 +109,7 @@ peers.on('connection', async socket => {
}) })
socket.on('createRoom', async ({ callId }, callback) => { socket.on('createRoom', async ({ callId }, callback) => {
console.log('router', router); console.log('Router length:', Object.keys(router).length);
if (router[callId] === undefined) { if (router[callId] === undefined) {
// worker.createRouter(options) // worker.createRouter(options)
// options = { mediaCodecs, appData } // options = { mediaCodecs, appData }