From da906ed4ba0b8e9f40c571a0649c1cce73fb3b0e Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Mon, 19 Dec 2022 18:35:02 +0200 Subject: [PATCH] Update --- public/bundle.js | 7 ------- public/index.html | 35 ++--------------------------------- public/index.js | 7 ------- 3 files changed, 2 insertions(+), 47 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 8dbebd0..e9b17f7 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20814,17 +20814,10 @@ const connectRecvTransport = async () => { stream.addTrack(audioTrack) } else { console.log('❗ Don\'t have AUDIO stream to consume'); - // const soundElement = document.getElementById('sound'); - // soundElement.remove(); } socket.emit('consumer-resume') - console.log('stream', stream); - - // let removeAudio = document.getElementById('remoteAudio') - // removeAudio.srcObject = stream - remoteVideo.srcObject = stream remoteVideo.setAttribute('autoplay', true) diff --git a/public/index.html b/public/index.html index b89212a..a44cd99 100644 --- a/public/index.html +++ b/public/index.html @@ -57,20 +57,13 @@
- - + >
@@ -87,30 +80,6 @@ -
diff --git a/public/index.js b/public/index.js index 7138136..2d2faac 100644 --- a/public/index.js +++ b/public/index.js @@ -456,17 +456,10 @@ const connectRecvTransport = async () => { stream.addTrack(audioTrack) } else { console.log('❗ Don\'t have AUDIO stream to consume'); - // const soundElement = document.getElementById('sound'); - // soundElement.remove(); } socket.emit('consumer-resume') - console.log('stream', stream); - - // let removeAudio = document.getElementById('remoteAudio') - // removeAudio.srcObject = stream - remoteVideo.srcObject = stream remoteVideo.setAttribute('autoplay', true)