added log for dtls transport-connect
This commit is contained in:
parent
fc42c79210
commit
8ac58f0d9d
1
app.js
1
app.js
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user