function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Paul F-2Paul F-2 

getUserMedia not working in Salesforce1

I have a Visualforce page that use navigator.getUserMedia to display video and grab pictures from the device camera.  It works in SF1 on Chrome - Window 8.1 laptop, Nexus 7 tablet and Razr M phone.  However, in SF1 on Andoid, getUserMedia is undefined.  I think it might be an issue with the SF1 app not having permission to use the camera.  For example, the RedLaser app has permission to 'take pictures and videos' but the SF1 app doesn't have this permission.  If it is a permissions issue, what's the process to submit this as an enhancement to the SF1 app?

On my tablet and phone, getUserMedia uses the front facing camera.  Does anyone know how to make it use the rear facing camera?

Thanks.

Paul F-2Paul F-2
The answer to my second question about choosing a camera is here:
https://simpl.info/getusermedia/sources/