AnsweredAssumed Answered

USB Camera preview failing on Android 7.1.2

Question asked by Trevor Meyer on Oct 12, 2018
Latest reply on Nov 7, 2018 by Trevor Meyer

We have a product using the MX6Q that runs Android and uses a USB camera.  The camera worked fine in Android 6.0 and 7.1.1, but in Android 7.1.2, the preview stream is corrupted.  Specifically, using the Camera App, the camera preview appears as purple static most of the time, or occasionally contains small blocks of the actual preview stream from the camera, combined with various random-looking artifacts.  When we capture an image the image is captured correctly, so only the preview stream has a problem.  There is no obvious difference in the logcat output between the working version in 7.1.1 and the failing version in 7.1.2 (ie. no errors printed in 7.1.2 indicating a problem).  Any idea what might be wrong?

Outcomes