LINXD-2209: Remove console.logs
This commit is contained in:
parent
d7486d0fd6
commit
031a7bc4c5
3
app.js
3
app.js
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user