googlearchive/android-Camera2Video

Full Screen preview and record.

Closed this issue · 4 comments

I could not find a way to make the preview and recording of the video full screen. The default Camera App of motorola and samsung has a full screen previews.

Hence, these demo should also have the full screen preview without view getting stretched. Please help.

@ShagunParikh Any solution?

Using frame layout around the autofittextureview solved the issue in my case. The video preview is not fullscreen but it maintains aspect ratio. And talking of full screen default camera app. You may notice that on changing the resolution you will miss out the full screen.

Hi @ShagunParikh @pablogeek I am also facing same issue now, could you please let me know if there is any solution found.

@amlan-routray thanks for the valuable comment, the issue is only when dealing with devices with low resolution.

Found a workaround in the below link.
https://stackoverflow.com/questions/39044494/get-full-screen-preview-with-android-camera2

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).

As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.

If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!