android - Take picture fails in dual camera mode -


i'm having issues when i'm in dual shot mode. i've got far:

  • back camera mode - works perfectly
  • front camera mode - works perfectly
  • parallel camera mode (full preview + small window front preview) - works on devices support accessing both cameras @ same time (like samsung s4).

the problem is: while having both previews display, call takepicture() method on both cameras. works on devices samsung s4 , htc m8, on lg g3 takepicture() on camera doesn't work. doesn't enter of callbacks. front picture taken correctly, camera isn't, , freezes , camera error 100, while front camera keeps working fine.

i mention all above devices (s4, m8, , g3) support parallel cameras. problem @ g3 when want takepicture.

i've tested on nexus 5 not support , i've implemented different approach works great (basically, take pictures 1 @ time).


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -