Hi All,
CameraPanel (https://github.com/bolav/fuse-camerapanel) project crashes on (at least) Samsung Trend Plus device.
We extracted the camera stream feature (from CameraPanel project) from our complete app to verify it was this feature causing the crash. It was. It works on other devices / brands such as Huawei P9, OnePlus or Oppo R9.
The crash occurs once the app launches (we never get to see the first frame rendered).
Fuse version 0.32.
Using the latest version of CameraPanel project (Dec 2016).
Here is the logcat:
E/GLConsumer( 3449): [unnamed-3449-2] checkAndUpdateEglState: invalid current EGLContext
E/AndroidRuntime( 3449): FATAL EXCEPTION: main
E/AndroidRuntime( 3449): Process: com.apps.test, PID: 3449
E/AndroidRuntime( 3449): java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
E/AndroidRuntime( 3449): at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
E/AndroidRuntime( 3449): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:169)
E/AndroidRuntime( 3449): at com.foreign.Camera$2.onFrameAvailable(Camera.java:316)
E/AndroidRuntime( 3449): at android.graphics.SurfaceTexture$EventHandler.handleMessage(SurfaceTexture.java:296)
E/AndroidRuntime( 3449): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3449): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 3449): at android.app.ActivityThread.main(ActivityThread.java:5692)
E/AndroidRuntime( 3449): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3449): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3449): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
E/AndroidRuntime( 3449): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
E/AndroidRuntime( 3449): at dalvik.system.NativeStart.main(Native Method)
Thanks in advance for your support,