Problem Description
I'm trying to get cameras working in Chrome on Android, but the request to access them just isn't popping up.
I'm testing using the Example: Webcam template built into Construct. I have a version online over here.
I've tested it with these devices so far:
HTC M8
Android: 6.0
Chrome: 48
Galaxy Nexus
Android 4.4.2
Chrome: 48
Nexus 7
Android: 4.2.1
Chrome: 48
I am aware there was an issue regarding this recently that was supposedly fixed in r219. Someone else brought it up in December on here.
User Media: work around a spec change in Chrome 47 that broke camera/microphone access
This issue is specific to Chrome. I had a really old version of it on my Nexus 7 (31) and the user request did still appear. After it was updated, it stopped appearing. Requests work fine through the latest version of Firefox on my HTC M8.
Attach a Capx
Example: webcam
Description of Capx
Unchanged version of the basic webcam tutorial template built into Construct.
Steps to Reproduce Bug
- Preview in Chrome 48+ on Android
- Click 'Get Webcam' button
Observed Result
The status text on the page immediately changes to "Declined!" after you hit the "Get Webcam" button.
Expected Result
A camera request should appear from the Chrome browser.
Affected Browsers
- Chrome: (YES)
- FireFox: (NO)
- Internet Explorer: (N/A)
Operating System and Service Pack
Android 6.0
Construct 2 Version ID
Release r221 (64-bit)