Android Question Camera2 video capturing: Release compilation preview

peacemaker

Expert
Licensed User
Longtime User
HI, All

Strange situation with Camera2 usage for the video recording:
1) Debug version works fully OK: preview is restarted OK after each file saving.
2) But Release compilation shows the preview only for the very first time, and later the preview is not visible, but capturing is anyway OK.

No errors in the log.
Erel's source sample is working in the Release mode also OK :)
But how to debug the situation ? I'm ready to privately email the whole project, it's small.
 

peacemaker

Expert
Licensed User
Longtime User
Might be a timing issue.
Yes, i understand it, and sure - all the day i have been trying to compare...

I have started again, modifying your Camera2 sample. And now preview is restored OK,
but i have found another trouble.
 
Last edited:
Upvote 0
Top