2

I am doing a video call on the web, and I am trying to open the user's mobile flash when capture photo, is it anyway I can do this in javascript?

The flash I mentioned is the flashlight on mobile devices.

I had tried the media stream track method, but can only work for some devices only. cannot work on the iPhone.

thanks

Ganesa Vijayakumar
  • 2,422
  • 5
  • 28
  • 41
  • Does this answer your question? [Is it possible to control the camera light on a phone via a website?](https://stackoverflow.com/questions/37848494/is-it-possible-to-control-the-camera-light-on-a-phone-via-a-website) – MattHamer5 Nov 27 '19 at 09:11
  • 1
    I had tried this, but only some devices can work, I had checked the capabilities, some devices do not have the torch, so cannot open thier flash. and some devices cannot turn off the flash after turn on. – Leong Chien Nov 27 '19 at 09:14

0 Answers0