added log for dtls transport-connect

This commit is contained in:
Sergiu Toma 2022-09-29 14:24:44 +03:00
parent fc42c79210
commit 8ac58f0d9d

1
app.js
View File

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