Update Client show error correctly

This commit is contained in:
Sergiu Toma 2023-02-08 03:14:43 +02:00
parent e79e0be6ec
commit df0c73badb
2 changed files with 14 additions and 14 deletions

View File

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

View File

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