Closed Bug 802182 (flash_control) Opened 12 years ago Closed 12 years ago

Feature request: Direct camera flash control

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bradpitcher, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121006022900

Steps to reproduce:

I was looking into the Camera API,


Actual results:

and I didn't see a way to directly control the camera's flash (if there is one).


Expected results:

I would like to be able to turn on the flash and leave it on without taking a picture.

I've also created a github issue for the request: https://github.com/mozilla-b2g/gaia/issues/5797
Alias: flash_control
Summary: flash control → Feature request: Direct camera flash control
Are you sure? I don't think so. From what I can tell flashMode just determine whether the flash will very briefly turn on during picture taking only.
(In reply to bradpitcher from comment #2)
> Are you sure? I don't think so. From what I can tell flashMode just
> determine whether the flash will very briefly turn on during picture taking
> only.

If it's set to "auto" or "on", that will be the expected behaviour.  If it's set to "off", the flash won't fire at all; and if it's set to "torch", then it will stay on until it is set to something else.  (Assuming .capabilities.flashModes lists "torch" in its supported modes.)
Thank you!
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.