Why is getUserMedia throwing a [object NavigatorUserMediaError] when I click “Allow” in Chrome?

前端 未结 4 1801
时光取名叫无心
时光取名叫无心 2021-01-11 21:06

Recently, I started getting errors when trying to access the client\'s mic through my website. When Chrome asks whether to allow the site to access the user\'s microphone, <

4条回答
  •  一生所求
    2021-01-11 21:46

    NavigatorUserMediaError {code: 1, PERMISSION_DENIED: 1}

    This means your browser settings are not allowing you to access the camera. Go into your browser settings -> under website settings you'll find a list of webpages that you have blocked from accessing your device.

提交回复
热议问题