html5-qrcode
html5-qrcode copied to clipboard
Compatibility - Android and IOS webview: Camera streaming is not supported in the browser
I am using this plugin to scan qr codes ,everything works correctly in the desktop , android and ios mobile browsers, but when I invoke the website inside Android/IOS webview I get error “Camera streaming not supported in the browser” I am trying to show the camera in an iframe.
- OS: Android/IOS webview
well, are you sure webview supports live camera?
Same issue on WKWebView @ROBERT-MCDOWELL IOS 14.5+ already support webrtc, But I got live boardcast black screen when trigger getUserMedia
Webrtc does not have to do with the OS but with the browser. I know that webview does not allow camera/mic access.
I am able to get this working on Android by enabling the device access permission, this error was due to the weburl that I was invoking was hosted on local IIS, when I deployed to the sys server it worked. IOS is still a problem it shows black screen
I am able to get this working on Android by enabling the device access permission, this error was due to the weburl that I was invoking was hosted on local IIS, when I deployed to the sys server it worked. IOS is still a problem it shows black screen
Did you find a solution for this? I'm also having a blank screen on IOS webview. Asks for permission then no video.
IOS display problem, you solved the code
I am able to get this working on Android by enabling the device access permission, this error was due to the weburl that I was invoking was hosted on local IIS, when I deployed to the sys server it worked. IOS is still a problem it shows black screen
This error occurred when loading Android webview:tile memory limits exceeded, some content may not draw,Do you have this problem here?
I had the same error. Turns out it seems to require a secure context (either localhost or https). I was testing on mobile but with a local ip (http://192.168.1.92:3000) so it was not working.