Update
This commit is contained in:
parent
a4356f06be
commit
f3ba6d37c2
@ -20817,10 +20817,15 @@ const connectRecvTransport = async () => {
|
||||
}
|
||||
|
||||
console.log('----------stream', stream);
|
||||
console.log('stream.getAudioTracks()', stream.getAudioTracks());
|
||||
socket.emit('consumer-resume')
|
||||
|
||||
remoteVideo.srcObject = stream
|
||||
remoteVideo.setAttribute('autoplay', true)
|
||||
remoteVideo.autoplay = true
|
||||
|
||||
// window.localStream = stream; // A
|
||||
// window.localAudio.srcObject = stream; // B
|
||||
// window.localAudio.autoplay = true; // C
|
||||
|
||||
remoteVideo.play()
|
||||
.then(() => {
|
||||
|
@ -459,10 +459,15 @@ const connectRecvTransport = async () => {
|
||||
}
|
||||
|
||||
console.log('----------stream', stream);
|
||||
console.log('stream.getAudioTracks()', stream.getAudioTracks());
|
||||
socket.emit('consumer-resume')
|
||||
|
||||
remoteVideo.srcObject = stream
|
||||
remoteVideo.setAttribute('autoplay', true)
|
||||
remoteVideo.autoplay = true
|
||||
|
||||
// window.localStream = stream; // A
|
||||
// window.localAudio.srcObject = stream; // B
|
||||
// window.localAudio.autoplay = true; // C
|
||||
|
||||
remoteVideo.play()
|
||||
.then(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user