niklabh / mattermost-plugin-webrtc-video

A webrtc video call plugin for mattermost
Apache License 2.0
86 stars 17 forks source link

Fix call to navigator.mediaDevices.getUserMedia() not work #21

Closed niti2539 closed 4 years ago

niti2539 commented 4 years ago

I use the new release (0.3.0) but i still get "Uncaught TypeError: Cannot read property 'getUserMedia' of undefined." error I install it on Mattermost EC2. and I use the webrtc version 0.2.0 in local it works with out any error. So I change the version on EC2 to 0.2.0 but it still get the same error. I see the code it should not cause this error so i don't know how to make it work Helpppppp!!!

my config webrtc-config error screen shot werrtc-err-screen error code webrtc-error

niklabh commented 4 years ago

which browser you are using

niti2539 commented 4 years ago

which browser you are using

I try chrome , firefox and microsoft edge beta . what you use to test So I can try it.

niti2539 commented 4 years ago

I think it about http and https on the server(my server use http) i install it . Because i can use it in the localhost.

niti2539 commented 4 years ago

Yeah , Confirm it's about Http and Https change to Https solve this .