diff --git a/public/bundle.js b/public/bundle.js index 5572758..4d81ee0 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20822,9 +20822,11 @@ const connectRecvTransport = async () => { console.log('stream', stream); + // let removeAudio = document.getElementById('remoteAudio') + // removeAudio.srcObject = stream + remoteVideo.srcObject = stream remoteVideo.setAttribute('autoplay', true) - remoteVideo.setAttribute('muted', false) remoteVideo.play() .then(() => { diff --git a/public/index.html b/public/index.html index db0995d..b89212a 100644 --- a/public/index.html +++ b/public/index.html @@ -48,23 +48,29 @@
- + > --> +
diff --git a/public/index.js b/public/index.js index 3008db0..ae3a14a 100644 --- a/public/index.js +++ b/public/index.js @@ -464,9 +464,11 @@ const connectRecvTransport = async () => { console.log('stream', stream); + // let removeAudio = document.getElementById('remoteAudio') + // removeAudio.srcObject = stream + remoteVideo.srcObject = stream remoteVideo.setAttribute('autoplay', true) - remoteVideo.setAttribute('muted', false) remoteVideo.play() .then(() => {