[b2g] getUserMedia front camera rotation issue

2014-11-16 Thread jorrete

Hello,

When request video stream from gum on front camera I've noticed that image 
rotate in a weird way:

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

If you do the same operation with back camera all feels right. There is no  
rotation of image in the same way the Camera App does.

Does anyone any clue if that is the expected behavior or it's a bug?

I've used a flame device with this test app:
https://www.dropbox.com/s/1bd3sax0kz1thte/foxos-front-gum.zip?dl=0

Thanks in advance. 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] getUserMedia front camera rotation issue

2014-11-18 Thread Julien Wajsberg
Le 13/11/2014 19:46, jorr...@gmail.com a écrit :
> Hello,
>
> When request video stream from gum on front camera I've noticed that image 
> rotate in a weird way:
>
> - rotate 90 deg a put in landscape, the image is rotated 180 deg.
> - rotate 180 deg a put in portrait inverted, the image is rotated 360 deg.
>
> If you do the same operation with back camera all feels right. There is no  
> rotation of image in the same way the Camera App does.
>
> Does anyone any clue if that is the expected behavior or it's a bug?

I doubt this is expected, please file a bug on bugzilla :)

Thanks,
-- 
Julien



signature.asc
Description: OpenPGP digital signature
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] getUserMedia front camera rotation issue

2014-11-20 Thread jorrete
El martes, 18 de noviembre de 2014 09:40:33 UTC+1, Julien Wajsberg  escribió:
> Le 13/11/2014 19:46, jorr...@gmail.com a écrit :
> > Hello,
> >
> > When request video stream from gum on front camera I've noticed that image 
> > rotate in a weird way:
> >
> > - rotate 90 deg a put in landscape, the image is rotated 180 deg.
> > - rotate 180 deg a put in portrait inverted, the image is rotated 360 deg.
> >
> > If you do the same operation with back camera all feels right. There is no  
> > rotation of image in the same way the Camera App does.
> >
> > Does anyone any clue if that is the expected behavior or it's a bug?
> 
> I doubt this is expected, please file a bug on bugzilla :)
> 
> Thanks,
> -- 
> Julien

Bug filed:
https://bugzilla.mozilla.org/show_bug.cgi?id=1102448

Thanks.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g