Chrome: navigator.mediaDevices.getUserMedia is not a function

前端 未结 7 1254
长发绾君心
长发绾君心 2021-01-04 00:53

I\'m on localhost and trying to use the MediaDevices.getUserMedia method in Chrome. I receive the error as titled. I understand that in Chrome it is only possible to use thi

7条回答
  •  轮回少年
    2021-01-04 01:15

    I was having this problem too and changing flags didn't seem to work. I came across this chrome extension — Web Server for Chrome in Google's WebRTC tutorial which seemed to do the trick.

提交回复
热议问题