1. Black Friday Sale - 50% off

    B4A Standard for $29 instead of $59!
    Buy Now
    Dismiss Notice

Android Question Camera2 video capturing: Release compilation preview

Discussion in 'Android Questions' started by peacemaker, Apr 4, 2019.

  1. peacemaker

    peacemaker Well-Known Member Licensed 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.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Compare your code to the example code.
    Might be a timing issue.
  3. peacemaker

    peacemaker Well-Known Member Licensed User

    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
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice