LINXD-2209: Add 100ms delay between room creation

This commit is contained in:
Sergiu Toma 2022-09-13 21:08:03 +03:00
parent 031a7bc4c5
commit 6938e751fe

2
app.js
View File

@ -126,7 +126,7 @@ const mediaCodecs = [
} }
getRtpCapabilities(callId, callback) getRtpCapabilities(callId, callback)
} }
}, 1); }, 1000);
peers.on('connection', async socket => { peers.on('connection', async socket => {
console.log('[connection] socketId:', socket.id) console.log('[connection] socketId:', socket.id)