I used this : peerjs.com/examples last time. There are some examples. cdn.peerjs.com/demo/videochat.
You are welcome.
Вопрос
I've enabled chrome://flags/#enable-usermedia-screen-capture and restarted chrome, attempting to share video -
However, when I attempt to stream via navigator.getUserMedia
I get a permission denied error. I have read this can only be enabled via https - is this true?
Here is the gist: https://gist.github.com/lfender6445/11357060
Update: In order to share screens (not your video camera) it appears you have to be hosting via https.
Решение
I used this : peerjs.com/examples last time. There are some examples. cdn.peerjs.com/demo/videochat.
You are welcome.