Closed Bug 1000583 Opened 11 years ago Closed 9 years ago

[FlatFish][Camera][gUM] rear-facing displays upside down when turning device right or left

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: rpapa, Unassigned)

References

Details

Attachments

(3 files)

Front-facing and rear facing camera preview are OK. However, rotating rear-facing camera right or left turns image upside down. This doesn't happen with forward-facing camera preview
I can confirm similar rotated picture issue on Flatfish. OS version: 2.1.0.0-prerelease Platform version: 33.01a Build Identifier: 20140626015928 Git commit info: 2014-6-25 15:36:44, bd588a2 ---------------------------------------------- Steps to reproduce: 1) Open browser on Flatfish 2) Enter https://apper.in/testek in URL bar 3) Select Back Camera or Front Camera and click "Share". Actual results: 1) When using "Back Camera" in landscape mode picture is rotated right for 90 degrees. (Screenshot 1) 2) When using "Back Camera" in portrait mode picture is flipped vertically. (Screenshot 2) 3) When using "Front Camera" in landscape mode picture is rotated left for 90 degress. (Screenshot 3) Expected results: Picture should be rotated correctly.
Attached image Screenshot 1
Attached image Screenshot 2
Attached image Screenshot 3
Just to clarify, 1042541 has been marked as duplicate, this bug remains active.
On 2.2.0.0-prerelease, build id 20140917012101, the issue is still there. But now the local video does not display at all. Instead you get a green rectangle, with front or rear camera. Both cameras work properly in the "Camera" built-in app
jesup, I'm not sure what the status is of Flatfish these days, but is there anything obvious that could be checked here? The Camera app is rotated properly, but the gUM feed is sideways. This bug was filed well after bug 970183 landed.
Flags: needinfo?(rjesup)
Summary: [FlatFish][Camera] rear-facing displays upside down when turning device right or left → [FlatFish][Camera][gUM] rear-facing displays upside down when turning device right or left
(In reply to Mike Habicher [:mikeh] from comment #8) > jesup, I'm not sure what the status is of Flatfish these days, but is there > anything obvious that could be checked here? The Camera app is rotated > properly, but the gUM feed is sideways. This bug was filed well after bug > 970183 landed. ALmost certainly the camera sensor orientation (or whether it's a front or back camera) is wrong, messing up the data that feeds into RotateImage() in MediaEngineWebRTCVideo.cpp Getting front/back wrong would do it, for example.
Flags: needinfo?(rjesup)
(In reply to Mossroy from comment #7) > On 2.2.0.0-prerelease, build id 20140917012101, the issue is still there. > But now the local video does not display at all. Instead you get a green > rectangle, with front or rear camera. > Both cameras work properly in the "Camera" built-in app This is bug 1073873.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: