cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 access camera flash in browser on win10

dries_mangelschots
Discoverer
0 Kudos
396

Hi everyone

In order to take a picture within a SAPUI5 application we are using a media stream retrieved through navigator.mediaDevices.getUserMedia(). With the days getting darker we are experiencing a need for more light when taking pictures. We have been looking into ways of turning on the flashlight when camera is opened or enable automatic flashing when taking a picture but so far we are unable to make any of these work.

The video track capabilities do not list torch, which means we can not use a constraint to turn it on when needed.

The image capture capabilities do not list FillLightMode to turn on automatich flashing

The device used is a Panasonic FZ-G1 thoughpad running windows 10, SAPUI5 version is 1.71 and browser is chrome on version 86.

Are we missing something or is just impossible to use flash from browser on this device?

Thanks for helping us out!

Accepted Solutions (0)

Answers (0)