Closed
Bug 1183587
Opened 10 years ago
Closed 8 years ago
Trigger camera via headphones jack
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: elnino, Unassigned)
Details
(Keywords: feature, foxfood)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150630154324
Steps to reproduce:
1. Connect selfie stick with 3.5" headphones jack
2. Press button on selfie stick to take pictures
3. Nothing happens.
Actual results:
Pressing button on selfie stick should take picture/start recording a video.
Expected results:
When pressing the button on selfie stick camera should take a photo/start recording video.
Selfie stick are more and more popular so we should implement this feature. The headphone jack to control the camera is already supported in both iOS (since iOS 5.0) and Android (since Android 4.3)
Taking picture with volume buttons is already supported on Firefox OS (which I assume is prerequisite for this feature to work). Each button press on the stick handle should communicates a volume-up signal through the wire to the phone.
| Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
Flags: needinfo?(nhirata.bugzilla)
I don't have a selfie stick. I didn't realize they get triggered and placed in the headphone jack.
I do realize that these are getting pretty popular, we'll probably need to get one for QA.
I bought a selfie stick, the only ones I saw were bluetooth.
I guess that it would probably be something like this :
https://search.yahoo.com/yhs/search?p=selfie+stick+headphone+jack&ei=UTF-8&hspart=mozilla&hsimp=yhs-003
In any cases, what I believe it does is hit the volume button as that's an option on the hardware button to do that to take a picture.
Bluetooth device (ie a headset with volume buttons) or a headset that has volume control should also take a picture when adjusting the volume when the camera app is up is my guess. I still need to investigate further.
Hrm interesting.
For iPhone 3GS, the hardware volume down button will trigger a camera picture shot, a head set volume down button will not. The selfie with the volume down must be triggering the same thing as the hardware volume down button.
For the Firefox OS, the hardware volume buttons either + or - will trigger a camera shot.
Trying the selfie BT, and it's not taking a picture either. Filing a second bug in regards to the BT selfie device and camera app.
I can't confirm the wired selfie stick per lack of wired selfie device.
bug 1192095 was filed for Bluetooth selfie sticks.
Hey Wilson? Since DJF is out until 24th, I am pinging you...
I'm not sure how to handle this. I suppose I can get a wired one somewhere.
What's your take on how this should be handled?
Flags: needinfo?(wilsonpage)
Comment 6•10 years ago
|
||
It should probably invoke the Camera 'capture' key event like the Aries' hardware camera button. Aside from this I have no idea about the hardware side of this. Do we do we accept input/output data from the audio jack for types other than audio?
We need Gecko/Gonk help here, perhaps :aosmond or :dhylands knows where to go from here?
Flags: needinfo?(wilsonpage)
Flags: needinfo?(dhylands)
Flags: needinfo?(aosmond)
Comment 7•10 years ago
|
||
It's actually weird , it looks to me like Mozilla locks phones to oem jack or something like that , example , geeksphone peak have a button , but it (and mic) don't work on Flame
So I got the "original" selfie stick to test with; based on the instructions the instrutions state to lock the volume to capture for the android/iphone. Thus it is using volume in order to snap a picture on the camera app.
So in essense, probably a volume adjusting headset could work as a remote trigger...
In any cases, not sure how to resolve this situation. I think I've done as much as I can in terms of repro'ing this issue. I did confirm this issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(nhirata.bugzilla)
Comment 9•10 years ago
|
||
I'm not familiar with the intimate details, but I would expect that a headphone should somehow wind up injecting kernel input subsystem events for the volume-up/down events. It should be transparent but may wind up creating different keycodes or something.
Flags: needinfo?(dhylands)
Updated•9 years ago
|
Flags: needinfo?(aosmond)
Comment 10•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•