Issue metadata
Sign in to add a comment
|
Camera Access Fails
Reported by
codefusi...@gmail.com,
Dec 11
|
||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Create a WebView and grant it camera/audio permissions 2. Attempt to access the camera through WebRTC in javascript What is the expected behavior? The camera is accessed with no errors What went wrong? A error is thrown (E/cr_VideoCapture: CameraDevice.StateCallback onOpened) and no WebRTC connection can be established Did this work before? Yes 70.0.3538.110 Does this work in other browsers? Yes Chrome version: 71.0.3578.83 Channel: stable OS Version: 9 Flash Version: This has broken some of the core functionality of our Android application and we have been unable to find any workarounds without abandoning the use of WebView.
,
Dec 17
,
Dec 18
@ codefusion1: Please provide sample file in form of .apk file or .html file along with video on reproducing the issue. This would help in further triaging. Thanks!
,
Dec 19
After further investigation, this issue is mitigated by adding getSettings().setMediaPlaybackRequiresUserGesture(false) on the WebView. This behaviour is, however, still not consistent with the Chrome application. The 7z file in the original post is a full Android Studio project, but I have included the apk in this comment.
,
Dec 19
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by guidou@chromium.org
, Dec 14