diff --git a/public/bundle.js b/public/bundle.js index 5318496..13152d4 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20455,7 +20455,6 @@ setTimeout(() => { socket.on('new-producer', ({ callId }) => { console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`); - remoteVideo.play() consume() }) } @@ -20580,6 +20579,10 @@ const createDevice = async () => { routerRtpCapabilities: rtpCapabilities }) + device.observer.on("newtransport", (transport) => { + console.log("new transport created [id:%s]", transport.id); + }); + console.log('Device RTP Capabilities', device.rtpCapabilities) console.log('[createDevice] device', device); diff --git a/public/index.js b/public/index.js index bf4acdb..d2b5a3c 100644 --- a/public/index.js +++ b/public/index.js @@ -97,7 +97,6 @@ setTimeout(() => { socket.on('new-producer', ({ callId }) => { console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`); - remoteVideo.play() consume() }) } @@ -222,6 +221,10 @@ const createDevice = async () => { routerRtpCapabilities: rtpCapabilities }) + device.observer.on("newtransport", (transport) => { + console.log("new transport created [id:%s]", transport.id); + }); + console.log('Device RTP Capabilities', device.rtpCapabilities) console.log('[createDevice] device', device);