getUserMedia() not supported in chrome

Mick Jack picture Mick Jack · Dec 11, 2015 · Viewed 35.6k times · Source

I am trying to access my webcam using the getUserMedia() using my own website that run using my own ip address.

it was working fine until i tried my website again. i had tried the other demo site and the error given was getUserMedia is not supported.

Chrome version v47.0.2526.80m 32bits

enter image description here

I am able to access the webcam if i enter localhost instead of my ipadress. it also work in firefox.

Answer

Clay picture Clay · Dec 11, 2015

Chrome is requiring secure origins (HTTPS) for getUserMedia.

Starting with Chrome 47, getUserMedia() requests are only allowed from secure origins: HTTPS or localhost.

https://developers.google.com/web/updates/2015/10/chrome-47-webrtc?hl=en