Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon Chime SDK integration crashes on android (React Native) #206

Open
maksymdm opened this issue Nov 17, 2023 · 1 comment
Open

Amazon Chime SDK integration crashes on android (React Native) #206

maksymdm opened this issue Nov 17, 2023 · 1 comment
Labels

Comments

@maksymdm
Copy link

I'm trying to integrate Amazon Chime SDK 0.18.3 into the React Native app. I need both video and audio meetings. I used the demo from https://github.com/aws-samples/amazon-chime-react-native-demo as a reference. On iOS it works fine and without any issues. But on Android, it crashes when someone leaves the meeting with more than one attendee. All of the attendees have an active camera. When all attendees are in the meeting without an active camera the app doesn't crash.

Steps to reproduce the behaviour:

  1. Start a meeting
  2. Join several attendees from other devices or web
  3. Try to leave the meeting from another device or web
  4. Android app crashes

Environment:
"react-native": "0.72.7"
amazon-chime-sdk-media:0.18.3
amazon-chime-sdk:0.18.3

I'm facing this issue on all Android devices

In the logs I found the following:
call to OpenGL ES API with no current context (logged once per thread)
A java_vm_ext.cc:578] JNI DETECTED ERROR IN APPLICATION: JNI CallLongMethodV called with pending exception java.lang.IllegalArgumentException: Object is set to null. java_vm_ext.cc:578] at boolean android.opengl.EGL14.eglMakeCurrent(android.opengl.EGLDisplay, android.opengl.EGLSurface, android.opengl.EGLSurface, android.opengl.EGLContext) (EGL14.java:-2) java_vm_ext.cc:578] at java.lang.Object com.amazonaws.services.chime.sdk.meetings.internal.video.gl.DefaultEglRenderer$releaseEglSurface$1.invokeSuspend(java.lang.Object (DefaultEglRenderer.kt:139) java_vm_ext.cc:578] at void kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(java.lang.Object) (ContinuationImpl.kt:33) java_vm_ext.cc:578] at void kotlinx.coroutines.DispatchedTask.run() (DispatchedTask.kt:106) java_vm_ext.cc:578] at void android.os.Handler.handleCallback(android.os.Message(Handler.java:938) java_vm_ext.cc:578] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) java_vm_ext.cc:578] at void android.os.Looper.loop() (Looper.java:246) java_vm_ext.cc:578] at void android.os.HandlerThread.run() (HandlerThread.java:67) java_vm_ext.cc:578] java_vm_ext.cc:578] in call to CallLongMethodV java_vm_ext.cc:578] from boolean android.opengl.EGL14.eglMakeCurrent(android.opengl.EGLDisplay, android.opengl.EGLSurface, android.opengl.EGLSurface, android.opengl.EGLContext)

I've tried different versions of the Amazon Chime SDK but still facing this issue.

Copy link

stale bot commented Mar 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant