Update
This commit is contained in:
parent
14af825eab
commit
a568e542a7
@ -20822,7 +20822,12 @@ const connectRecvTransport = async () => {
|
||||
socket.emit('consumer-resume')
|
||||
|
||||
remoteVideo.srcObject = stream
|
||||
remoteVideo.autoplay = true
|
||||
// remoteVideo.autoplay = true
|
||||
remoteVideo.controls = true;
|
||||
remoteVideo.muted = true;
|
||||
remoteVideo.loop = true;
|
||||
remoteVideo.setAttribute('playsinline', '');
|
||||
remoteVideo.src = stream;
|
||||
|
||||
// window.localStream = stream; // A
|
||||
// window.localAudio.srcObject = stream; // B
|
||||
|
@ -464,7 +464,12 @@ const connectRecvTransport = async () => {
|
||||
socket.emit('consumer-resume')
|
||||
|
||||
remoteVideo.srcObject = stream
|
||||
remoteVideo.autoplay = true
|
||||
// remoteVideo.autoplay = true
|
||||
remoteVideo.controls = true;
|
||||
remoteVideo.muted = true;
|
||||
remoteVideo.loop = true;
|
||||
remoteVideo.setAttribute('playsinline', '');
|
||||
remoteVideo.src = stream;
|
||||
|
||||
// window.localStream = stream; // A
|
||||
// window.localAudio.srcObject = stream; // B
|
||||
|
Loading…
Reference in New Issue
Block a user