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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top