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)
Firefox OS Graveyard
Gaia
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
Reporter | ||
Updated•12 years ago
|
Alias: flash_control
Summary: flash control → Feature request: Direct camera flash control
Comment 1•12 years ago
|
||
This is exposed through the .flashMode attribute: http://mxr.mozilla.org/mozilla-central/source/dom/camera/nsIDOMCameraManager.idl#222
Reporter | ||
Comment 2•12 years ago
|
||
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.
Comment 3•12 years ago
|
||
(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.)
Reporter | ||
Comment 4•12 years ago
|
||
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.
Description
•