diff --git a/app.js b/app.js index b56232c..a7d4401 100644 --- a/app.js +++ b/app.js @@ -215,7 +215,9 @@ peers.on('connection', async socket => { socket.on('transport-connect', async ({ dtlsParameters }) => { try { const callId = socketDetails[socket.id]; - console.log('🔴 dtlsParameters', dtlsParameters); + console.log('🔴 typeof dtlsParameters', typeof dtlsParameters); + console.log('🟢 dtlsParameters', JSON.parse(dtlsParameters)); + console.log('🟡 dtlsParameters', dtlsParameters); console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`) await videoCalls[callId].producerTransport.connect({ dtlsParameters }); } catch (error) {