Closed Bug 1102448 Opened 10 years ago Closed 6 years ago

Video from GUM front camera is rotated

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jorrete, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20140612120644

Steps to reproduce:

I get a video stream with GUM in a hosted app with:
fullscreenn: true
orientation: portrait-primary

Example: 
https://dl.dropboxusercontent.com/u/129661469/gum/manifest.webapp
(install as hosted app with webide)

Device:
Flame v188 m-c (two days ago)


Actual results:

The video stream of front camera doesn't keep upright and rotates in a weird way.

- rotate 90 deg and put in landscape, the image is rotated 180 deg.
- rotate 180 deg and put in portrait inverted, the image is rotated 360 deg.

The same app and video preview from back camera behaves as espected keeping the video stream upright like camera app does.


Expected results:

The video preview from front camera keeps the image upright no matter the phone orientation.
I see bug 1023043 already reported and bug 1043307 is stated to be fixed in 2.0.

What I still do see in 2.2 M/C from today is bug 1023043/bug 1002671 .  
The front camera is mirrored...  Is that what you're seeing?
I think is not the same bug. Those bugs make reference to "oficial" camera app and I can't reproduce it in 2.2, I mean everything seems to be ok and the orientation of the previews match the final picture.

The bug I filed make reference to a video stream obtained from getUserMedia in a hosted/privileged app.
While back camera seems to be ok (phone rotation is 'suppressed' and images stands upright), the front camera no.
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.