LINXD-2209-black-screen-when-2-video-calls-are-answered-simultaneously #3

Merged
sergiu merged 31 commits from LINXD-2209-black-screen-when-2-video-calls-are-answered-simultaneously into master 2022-09-15 14:49:55 +00:00
Showing only changes of commit c12ececf47 - Show all commits

4
app.js
View File

@ -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)