CameraFilter icon indicating copy to clipboard operation
CameraFilter copied to clipboard

Lanscape mode

Open Traz9g opened this issue 9 years ago • 3 comments

Can you help me with landscape mode? I am trying to modify your source code, but nothing comes

Traz9g avatar Oct 06 '16 19:10 Traz9g

Why do you need to support landscape mode? In landscape mode, the toolbar will occupy the screen space, so that the preview space becomes very narrow.

However. If you really need to support landscape mode, you should remove the android:screenOrientation="portrait" in the AndroidManifest.xml. And then when the screen rotates, you need to roate the texture coordinates.

nekocode avatar Oct 07 '16 03:10 nekocode

This is need to record video (usually users doing it in landscape mode). Thanks!

Traz9g avatar Oct 07 '16 07:10 Traz9g

Hello nekocode. Great work there. How i should change the texture coordinates?

art-ylem avatar Oct 08 '19 10:10 art-ylem