Update Client show error correctly
This commit is contained in:
parent
c38d208353
commit
55bae8b2ed
@ -20455,7 +20455,7 @@ setTimeout(() => {
|
||||
|
||||
socket.on('new-producer', ({ callId }) => {
|
||||
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
|
||||
consume()
|
||||
!consumerTransport && consume()
|
||||
})
|
||||
}
|
||||
|
||||
@ -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}`)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user