Image failure in dual camera mode

I have problems when I am in double shot mode. This is what I have so far:

  • reverse camera mode - works great
  • front camera mode - works great
  • Parallel Camera Mode (Full Back View + Front Window Preview) - Works great on devices that support simultaneous use of both cameras (like Samsung S4).

The problem is this: when displaying both previews, I call the takePicture () method on the BOTH cameras. It works great on devices like Samsung S4 and HTC M8, but on LG G3 takePicture () on the rear camera just doesn't work. It doesn't even introduce any callbacks. The front image is taken correctly but the rear camera is missing and then freezes and I get a camera error 100 and the front camera is working fine.

I mention that all of the above devices (S4, M8 and G3) support parallel cameras . The only problem is in G3 when I want to takePicture.

I also tested Nexus 5, which does not support, and I implemented another approach that works great (I basically take pictures one at a time).

+3


source to share





All Articles