Refactor transportclose 9

This commit is contained in:
Sergiu Toma 2022-08-11 14:17:05 +03:00
parent 3f3048e54f
commit 1df588bac7

1
app.js
View File

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