Update server

This commit is contained in:
Sergiu Toma 2022-11-24 17:08:54 +02:00
parent 1148532a9b
commit d94ea12a40

2
app.js
View File

@ -333,7 +333,7 @@ peers.on('connection', async socket => {
*/
socket.on('consume', async ({ rtpCapabilities }, callback) => {
try {
console.log(`[consume] rtpCapabilities: ${rtpCapabilities}`);
console.log(`[consume] rtpCapabilities: ${JSON.stringify(rtpCapabilities)}`);
const callId = socketDetails[socket.id];
console.log('[consume] callId', callId);