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.
–
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
.