I use the RecordActivity sample how to set initialize full screen with correct ratio and best resolution in any device and camera? I tested any typical solution for android, but non of them gave me the outcome I wanted. Some of them caused the phone to go heated, and some of them caused the app to stop. If you have any ideas or solutions using which I can use to solve my problem in RecordActivity class, it would be very kind of you to share it with me. Thanks in advance.
https://github.com/bytedeco/javacv/blob/master/samples/RecordActivity.java