-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navigator.mediaDevices is undefined #25
Comments
Try to serve the web page over HTTPS. I've read that iOS Safari only allows access to the microphone (and camera) on secure connections. I had the same problem while implementing ng-audio-recorder in my Ionic Angular app. While working flawlessly on desktop, mobile safari threw this error. Switching to HTTPS solved the problem. |
@nguymin4 Is that the solution? |
@yjwSurCode I don't even know if iOS works nicely with WebRTC nowadays or not. There used to be a lot of problems. But usually if you try to access non-HTTPS web page, your browser will warn you about insecure connection. |
It fails, not just warns:
|
Hello,
I run the program in my network. But I get this problem when I try to call from a system on my network.
Uncaught TypeError: navigator.mediaDevices is undefined
I try both chrome and firefox browsers and this issue is on both of them.
The text was updated successfully, but these errors were encountered: