今天谷歌浏览器更新到版本 71.0.3578.80,发现摄像头打不开。错误部分代码如下

谷歌浏览器更新后无法使用摄像头Failed to execute 'createObjectURL' on 'URL'

提示错误为TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
    at <anonymous>:297:48

于是怀疑是不是谷歌弃用了什么方法,然后百度了很久发现

谷歌浏览器更新后无法使用摄像头Failed to execute 'createObjectURL' on 'URL'

证实这个方法应该是被弃用了,于是把代码改为

谷歌浏览器更新后无法使用摄像头Failed to execute 'createObjectURL' on 'URL'

摄像头正常了....

相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2021-07-27
  • 2022-01-02
  • 2021-05-13
  • 2022-12-23
猜你喜欢
  • 2021-08-11
  • 2021-11-01
  • 2021-05-01
  • 2022-12-23
  • 2021-07-03
  • 2021-05-21
  • 2021-11-17
相关资源
相似解决方案