LINXD-2209-black-screen-when-2-video-calls-are-answered-simultaneously #3
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