getUserMedia() not supported in chrome

前端 未结 3 1846
既然无缘
既然无缘 2020-11-30 12:16

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

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 13:04

    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

提交回复
热议问题