Display remote stream video

This commit is contained in:
Pierre HUBERT 2020-04-11 16:37:50 +02:00
parent e4771ef361
commit 5d7f7fc779

View File

@ -381,8 +381,9 @@ class CallWindow extends CustomEvents {
}); });
peer.on("stream", stream => { peer.on("stream", stream => {
console.log("go remote peer stream", stream) console.log("Got remote peer stream", stream)
alert("Stream on remote peer!!!")
this.addVideoStream(peerID, false, stream)
}); });
} }