peacemaker Expert Licensed User Longtime User Apr 4, 2019 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Apr 5, 2019 #2 Compare your code to the example code. Might be a timing issue. Upvote 0
peacemaker Expert Licensed User Longtime User Apr 5, 2019 #3 Erel said: Might be a timing issue. Click to expand... 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: Apr 5, 2019 Upvote 0
Erel said: Might be a timing issue. Click to expand... 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.