Added logs

This commit is contained in:
Sergiu Toma 2022-09-29 17:50:51 +03:00
parent 1d47d02792
commit 5d451d961f

2
app.js
View File

@ -219,7 +219,7 @@ peers.on('connection', async socket => {
console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`) console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`)
await videoCalls[callId].producerTransport.connect({ dtlsParameters }); await videoCalls[callId].producerTransport.connect({ dtlsParameters });
} catch (error) { } catch (error) {
console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${JSON.stringify(error)}`); console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error}`);
} }
}); });