android - Image Reader as Camera 2 preview -
i got little problem having multiple preview output surfaces. got 2 surfaces, glsurfaceview , imagereader. tried far;
- remove imagereader preview target [works great]
- remove glsurfaceview leaving imagereader alone [doesnt work]
- putting 2 preview target. [doesnt work]
last 2 things have same issue, imagereader receive image, 7 frames, after error thrown in setrepeating capturecallback has failure reason reason_error.
i sure both share same size 1024 x 768
im still not sure why after acquiring image calling acquirenextimage()
, error gone. way, need close acquire image.
Comments
Post a Comment