添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
粗眉毛的镜子  ·  sas proc import ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am using navigator.mediaDevices.getUserMedia in my javascript to call webcam. it is working for chrome but not for safari. I know, navigator.mediaDevices.getUserMedia is not supported for safari.

But, Is there any way to fix this issue for safari?

Thanks, Naresh.

In Safari v12.1.2 I see Enable Legacy WebRTC API in Develop menu but it is inactive/disabled (grayed out). How to enable it please? mikep Sep 30, 2019 at 11:07

This is only supported in Safari 11: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

You might be able to use navigator.getUserMedia (which is deprecated so be careful here): https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .