-
Notifications
You must be signed in to change notification settings - Fork 21
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
Use native implementation of getUserMedia on iOS 11+ #5
Comments
This was referenced Oct 16, 2017
navigator.getMediaDevices is not available for WKWebView and UIWebView in iOS 11. It is only available for Safari. |
This radar entry may be relevant: http://www.openradar.me/33571214 |
I have tested on iOS 12, and it seems that WKWebView still does not ship |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In iOS 11 Apple has included a native implementation of getUserMedia. We should detect that the OS already has an implementation and use it instead of our implementation.
We should be able to use something like:
to detect if
navigator.mediaDevices
existed before we clobber it with our implementation.Once we have a working implementation on iOS 11 we should test ImageCapture and MediaRecorder.
The text was updated successfully, but these errors were encountered: