LH-276: Update producer close event handler

This commit is contained in:
Sergiu Toma 2023-02-21 02:00:35 +02:00
parent 7e3e40e5e1
commit 48ef4911b1

2
app.js
View File

@ -529,7 +529,7 @@ peers.on('connection', async (socket) => {
// else if (kind === 'audio') videoCalls[callId].receiverAudioProducer.close() // else if (kind === 'audio') videoCalls[callId].receiverAudioProducer.close()
// } // }
} catch (error) { } catch (error) {
console.error(`ERROR | consumer-resume | callId ${socketDetails[socket.id]} | error: ${error.message}`); console.error(`[close-producer] | ERROR | callId ${socketDetails[socket.id]} | error: ${error.message}`);
} }
}); });