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

前端 未结 4 1803
时光取名叫无心
时光取名叫无心 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:55

    ** One Browser at a Time **

    I've encountered this situation when I am testing with multiple browsers open. It would appear that only one browser can access the media at a time.

    ie When I've got my page open in Chrome, and the video/audio is working, then Firefox won't work, and when I've got it working in Firefox, then Chrome doesn't work.

提交回复
热议问题