LINXD-2329: Don't close the call if initiator or receiver close the transport #28

Closed
sergiu wants to merge 13 commits from LINXD-2329-video-turn-on-camera-after-call-start into develop
2 changed files with 14 additions and 14 deletions
Showing only changes of commit df0c73badb - Show all commits

View File

@ -20825,13 +20825,13 @@ const connectRecvTransport = async () => {
remoteVideo.srcObject = stream remoteVideo.srcObject = stream
remoteVideo.setAttribute('autoplay', true) remoteVideo.setAttribute('autoplay', true)
remoteVideo.play() // remoteVideo.play()
.then(() => { // .then(() => {
console.log('remoteVideo PLAY') // console.log('remoteVideo PLAY')
}) // })
.catch((error) => { // .catch((error) => {
console.log(`remoteVideo PLAY ERROR | ${error.message}`) // console.log(`remoteVideo PLAY ERROR | ${error.message}`)
}) // })
}) })
} }

View File

@ -467,13 +467,13 @@ const connectRecvTransport = async () => {
remoteVideo.srcObject = stream remoteVideo.srcObject = stream
remoteVideo.setAttribute('autoplay', true) remoteVideo.setAttribute('autoplay', true)
remoteVideo.play() // remoteVideo.play()
.then(() => { // .then(() => {
console.log('remoteVideo PLAY') // console.log('remoteVideo PLAY')
}) // })
.catch((error) => { // .catch((error) => {
console.log(`remoteVideo PLAY ERROR | ${error.message}`) // console.log(`remoteVideo PLAY ERROR | ${error.message}`)
}) // })
}) })
} }