LINXD-2209: Add 2000ms delay between room creation
This commit is contained in:
parent
47eb302f5f
commit
c12ececf47
4
app.js
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user