From 5d7f7fc77947326e65ee09dc8b2fa486edaf56e0 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 11 Apr 2020 16:37:50 +0200 Subject: [PATCH] Display remote stream video --- assets/js/components/calls/window.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 3aebe2a0..4543fe57 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -381,8 +381,9 @@ class CallWindow extends CustomEvents { }); peer.on("stream", stream => { - console.log("go remote peer stream", stream) - alert("Stream on remote peer!!!") + console.log("Got remote peer stream", stream) + + this.addVideoStream(peerID, false, stream) }); }