parse-params #9

Closed
sergiu wants to merge 13 commits from parse-params into master
Showing only changes of commit 8ac58f0d9d - Show all commits

1
app.js
View File

@ -215,6 +215,7 @@ peers.on('connection', async socket => {
socket.on('transport-connect', async ({ dtlsParameters }) => { socket.on('transport-connect', async ({ dtlsParameters }) => {
try { try {
const callId = socketDetails[socket.id]; const callId = socketDetails[socket.id];
console.log('🔴 dtlsParameters', dtlsParameters);
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) {