diff --git a/public/index.js b/public/index.js index f9abf63..26d8cc8 100644 --- a/public/index.js +++ b/public/index.js @@ -350,7 +350,7 @@ const createRecvTransport = async () => { } const resetCallSettings = () => { - console.log('resetCallSettings', callId); + console.log('resetCallSettings', callId, 'socket |', socket); socket.emit('transportclose') localVideo.srcObject = null remoteVideo.srcObject = null @@ -399,9 +399,9 @@ const connectRecvTransport = async () => { const closeCall = () => { console.log('closeCall', callId); - socket.emit('transportclose') + // socket.emit('transportclose') // Reset settings and send closeTransport to video server - // resetCallSettings() + resetCallSettings() // // Emit 'notify-end' to Hub so the consumer will know to close the video // const notifyEnd = {