From c12ececf473ccbee106948389d3b88f965c0f0fb Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 13 Sep 2022 21:35:26 +0300 Subject: [PATCH] LINXD-2209: Add 2000ms delay between room creation --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 2898019..03ce86d 100644 --- a/app.js +++ b/app.js @@ -125,7 +125,7 @@ const mediaCodecs = [ } getRtpCapabilities(callId, callback) } - }, 1000); + }, 2000); peers.on('connection', async socket => { console.log('[connection] socketId:', socket.id) @@ -253,7 +253,7 @@ peers.on('connection', async socket => { // send the parameters to the client callback({ params }) } else { - console.log('[canConsume] Can\'t consume', error.message) + console.log('[canConsume] Can\'t consume') } } catch (error) { console.log('[consume] Error', error.message)