Fix missing callId
This commit is contained in:
parent
d81bc8582d
commit
fc42c79210
6
app.js
6
app.js
@ -204,7 +204,7 @@ peers.on('connection', async socket => {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(`ERROR | createWebRtcTransport | callId ${callId} | sender ${sender} | ${error.message}`);
|
||||
console.log(`ERROR | createWebRtcTransport | callId ${socketDetails[socket.id]} | sender ${sender} | ${error.message}`);
|
||||
}
|
||||
});
|
||||
|
||||
@ -314,7 +314,7 @@ peers.on('connection', async socket => {
|
||||
console.log(`[canConsume] Can't consume | callId ${callId}`);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(`ERROR | consume | callId ${callId} | ${error.message}`)
|
||||
console.log(`ERROR | consume | callId ${socketDetails[socket.id]} | ${error.message}`)
|
||||
callback({ params: { error } });
|
||||
}
|
||||
});
|
||||
@ -388,7 +388,7 @@ const createWebRtcTransportLayer = async (callId, callback) => {
|
||||
return transport;
|
||||
|
||||
} catch (error) {
|
||||
console.log(`ERROR | createWebRtcTransportLayer | callId ${callId} | ${error.message}`);
|
||||
console.log(`ERROR | createWebRtcTransportLayer | callId ${socketDetails[socket.id]} | ${error.message}`);
|
||||
callback({ params: { error } });
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user