diff --git a/public/bundle.js b/public/bundle.js index e9b17f7..6c09d27 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20449,10 +20449,13 @@ setTimeout(() => { console.log(`[MEDIA] ${config.mediasoupAddress} | connected: ${socket.connected} | existsProducer: ${existsProducer}`) if (!IS_PRODUCER && existsProducer && consumer === undefined) { goConnect() - // document.getElementById('btnRecvSendTransport').click(); } if (IS_PRODUCER && urlParams.get('testing') === 'true') { getLocalStream() } }) + + socket.on('new-producer', ({ callId }) => { + console.log(`🟥 new-producer | callId: ${callId}`); + }) } if (IS_PRODUCER === true) { diff --git a/public/index.js b/public/index.js index 1a42ea7..12fdebd 100644 --- a/public/index.js +++ b/public/index.js @@ -91,7 +91,6 @@ setTimeout(() => { console.log(`[MEDIA] ${config.mediasoupAddress} | connected: ${socket.connected} | existsProducer: ${existsProducer}`) if (!IS_PRODUCER && existsProducer && consumer === undefined) { goConnect() - // document.getElementById('btnRecvSendTransport').click(); } if (IS_PRODUCER && urlParams.get('testing') === 'true') { getLocalStream() } })