[英]iOS 11 navigator.getUserMedia is undefined in Chrome
After the iOS 11 release we managed to run a livescan qrcode scanner in Chrome (on iOS devices), we were in October 2017. We used a patched version of instascan ( https://github.com/schmich/instascan ). 在iOS 11发布之后,我们设法在2017年10月的Chrome中(在iOS设备上)运行livescan qrcode扫描器。我们使用了instascan的修补程序版本( https://github.com/schmich/instascan )。 Everything was fine till... (I don't know exactly when) it stopped working.
一切都很好,直到...(我不知道确切的时间)它停止工作。 Is it maybe related to the adoption of WKWebView?
可能与WKWebView的采用有关吗? ( https://blog.chromium.org/2016/01/a-faster-more-stable-chrome-on-ios.html ) After simple tests we have realized that navigator.getUserMedia or navigator.mediaDevices is undefined now.
( https://blog.chromium.org/2016/01/a-faster-more-stable-chrome-on-ios.html )经过简单测试后,我们意识到navigator.getUserMedia或navigator.mediaDevices现在尚未定义。
Is there an alternative way to make it working again? 是否有其他方法可以使其再次正常工作?
Thanks 谢谢
Chrome on iOS is based on a webkit webview and that does not support getUserMedia. iOS上的Chrome基于Webkit Web视图,并且不支持getUserMedia。 See this chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=752458
看到这个Chrome错误: https : //bugs.chromium.org/p/chromium/issues/detail?id = 752458
I doubt it ever worked. 我怀疑它是否有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.