mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Display remote stream video
This commit is contained in:
parent
e4771ef361
commit
5d7f7fc779
@ -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)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user