parse-params #9

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

3
app.js
View File

@ -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 });