I am writing an application which will run on a variety of Android phones. My main customer has a stock of Galaxy A3 (2017). Some time ago, I wrote a video record element, which is takes video of operator while entering a 'PIN'. There is to be no sign of the video on the display, so intents are out. I wrote Java code with Camera2 and setRepeatingRequest
It worked fine when I first wrote it on Android 7. Now I have had to update it for Android 10, due to changes to createCaptureSession
The original code is still active for earlier releases. The Android 8 device is not getting any onCaptureCompleted notifications and my video file is empty.
I have seen chatter on the web about problems with Android 8 Camera 2 on Samsung. Is this the case? I need a fix or a workaround, does one exist? Speedy response would be appreciated.