Added logs
This commit is contained in:
parent
8ac58f0d9d
commit
1d47d02792
3
app.js
3
app.js
@ -219,7 +219,7 @@ peers.on('connection', async socket => {
|
||||
console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`)
|
||||
await videoCalls[callId].producerTransport.connect({ dtlsParameters });
|
||||
} catch (error) {
|
||||
console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error.message}`);
|
||||
console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${JSON.stringify(error)}`);
|
||||
}
|
||||
});
|
||||
|
||||
@ -382,6 +382,7 @@ const createWebRtcTransportLayer = async (callId, callback) => {
|
||||
dtlsParameters: transport.dtlsParameters,
|
||||
};
|
||||
|
||||
console.log(`createWebRtcTransportLayer | params.dtlsParameters ${params.dtlsParameters}`);
|
||||
// Send back to the client the params
|
||||
callback({ params });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user