LINXD-2209: Remove console.logs

This commit is contained in:
Sergiu Toma 2022-09-13 21:05:24 +03:00
parent d7486d0fd6
commit 031a7bc4c5

3
app.js
View File

@ -114,7 +114,6 @@ const mediaCodecs = [
const getRtpCapabilities = (callId, callback) => {
const rtpCapabilities = router[callId].rtpCapabilities
console.log('[getRtpCapabilities]', callId, callback, rtpCapabilities);
callback({ rtpCapabilities })
}
@ -122,10 +121,8 @@ const mediaCodecs = [
if (queue.length > 0) {
const { callId, callback } = queue.shift();
if (router[callId] === undefined) {
console.log('🟢 callId', callId, '| callback', callback)
router[callId] = await worker.createRouter({ mediaCodecs })
console.log(`[createRoom] Router ID: ${router[callId].id}`)
console.log('🟡 router', router);
}
getRtpCapabilities(callId, callback)
}