LINXD-2270-p2 #19

Closed
sergiu wants to merge 58 commits from LINXD-2270-p2 into develop
3 changed files with 17 additions and 7 deletions
Showing only changes of commit b4fccc4d4c - Show all commits

View File

@ -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(() => {

View File

@ -48,23 +48,29 @@
<div id="sharedBtns">
<video
id="localVideo"
autoplay
class="video"
autoplay
muted
controls
playsinline
></video>
</div>
</td>
<td>
<div id="sharedBtns">
<video
<!-- <video
id="remoteVideo"
autoplay
class="video"
autoplay
muted
playsinline
></video>
></video> -->
<audio
id="remoteVideo"
autoplay
muted
playsinline
src="data:," alt
></audio>
</div>
</td>
</tr>

View File

@ -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(() => {