Added log

This commit is contained in:
Sergiu Toma 2023-01-12 12:50:40 +02:00
parent e6c08a2c1d
commit 9716bddd71
1 changed files with 1 additions and 0 deletions

1
app.js
View File

@ -446,6 +446,7 @@ peers.on('connection', async socket => {
*/
socket.on('consumer-resume',() => {
try {
console.log(`[consumer-resume] callId ${callId}`)
const callId = socketDetails[socket.id];
if (isInitiator(callId, socket.id)) {
videoCalls[callId].initiatorConsumerVideo && videoCalls[callId].initiatorConsumerVideo?.resume();