Added logs
This commit is contained in:
parent
a95c29659e
commit
817781085f
4
app.js
4
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user