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

App getting crashed during screen sharing in android #209

Open
domabyte opened this issue Jun 7, 2024 · 0 comments
Open

App getting crashed during screen sharing in android #209

domabyte opened this issue Jun 7, 2024 · 0 comments

Comments

@domabyte
Copy link

domabyte commented Jun 7, 2024

I've been trying to implement a screen sharing feature using this but the problem is whenever I try to share my screen the other attendees see black screen for some sec and then my app gets crashed every time. I tried various solutions but didn't find the root cause of this problem.

These are my logs from logcat:
I Screen capture started
2024-06-07 16:51:39.931 11604-15295 Logging com.actpal W YuvConverter: android.opengl.GLException: glUseProgram: GLES20 error: 1282
at org.amazon.chime.webrtc.GlUtil.checkNoGLES2Error(GlUtil.java:37)
at org.amazon.chime.webrtc.GlShader.useProgram(GlShader.java:120)
at org.amazon.chime.webrtc.GlGenericDrawer.prepareShader(GlGenericDrawer.java:249)
at org.amazon.chime.webrtc.GlGenericDrawer.drawOes(GlGenericDrawer.java:159)
at org.amazon.chime.webrtc.VideoFrameDrawer.drawTexture(VideoFrameDrawer.java:40)
at org.amazon.chime.webrtc.YuvConverter.convertInternal(YuvConverter.java:200)
at org.amazon.chime.webrtc.YuvConverter.convert(YuvConverter.java:130)
at org.amazon.chime.webrtc.TextureBufferImpl.lambda$toI420$1$org-amazon-chime-webrtc-TextureBufferImpl(TextureBufferImpl.java:113)
at org.amazon.chime.webrtc.TextureBufferImpl$$ExternalSyntheticLambda0.call(Unknown Source:2)
at org.amazon.chime.webrtc.ThreadUtils$3.run(ThreadUtils.java:173)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.os.HandlerThread.run(HandlerThread.java:67)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #1 pc 00000000001d0154 /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/lib/arm64/libamazon_chime_media_client.so (BuildId: ae76d01a612b8684a3f0499b68d0cdfa0e162b9e)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #2 pc 00000000001d07c0 /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/lib/arm64/libamazon_chime_media_client.so (BuildId: ae76d01a612b8684a3f0499b68d0cdfa0e162b9e)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #3 pc 00000000001dfb10 /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/lib/arm64/libamazon_chime_media_client.so (BuildId: ae76d01a612b8684a3f0499b68d0cdfa0e162b9e)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #4 pc 0000000000638c94 /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/lib/arm64/libamazon_chime_media_client.so (BuildId: ae76d01a612b8684a3f0499b68d0cdfa0e162b9e)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #5 pc 0000000000638bac /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/lib/arm64/libamazon_chime_media_client.so (Java_org_amazon_chime_webrtc_NativeAndroidVideoTrackSource_nativeOnFrameCaptured+44) (BuildId: ae76d01a612b8684a3f0499b68d0cdfa0e162b9e)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #7 pc 000000000203fc6c /memfd:jit-cache (deleted) (offset 0x2000000) (org.amazon.chime.webrtc.NativeAndroidVideoTrackSource.onFrameCaptured+284)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #8 pc 000000000202c65c /memfd:jit-cache (deleted) (offset 0x2000000) (org.amazon.chime.webrtc.NativeCapturerObserver.onFrameCaptured+588)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #10 pc 000000000202d1ec /memfd:jit-cache (deleted) (offset 0x2000000) (com.amazonaws.services.chime.sdk.meetings.internal.video.VideoSourceAdapter.onVideoFrameReceived+1660)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #15 pc 0000000000321e04 [anon:dalvik-classes.dex extracted in memory from /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/base.apk] (com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.DefaultScreenCaptureSource.onVideoFrameReceived+0)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #19 pc 0000000002023424 /memfd:jit-cache (deleted) (offset 0x2000000) (com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.DefaultSurfaceTextureCaptureSource.tryCapturingFrame+1332)
2024-06-07 16:51:42.062 15505-15505 DEBUG crash_dump64 A #24 pc 0000000000322b3c [anon:dalvik-classes.dex extracted in memory from /data/app/~~uFxDYP22JVTWNFb6okQwQg==/com.actpal-DY0FSPYD079aBJ0OqNv_EQ==/base.apk] (com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.DefaultSurfaceTextureCaptureSource.access$tryCapturingFrame+0)
2024-06-07 16:51:42.063 15505-15505 DEBUG crash_dump64 A #28 pc 0000000002003370 /memfd:jit-cache (deleted) (offset 0x2000000) (com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.DefaultSurfaceTextureCaptureSource$start$1$1.onFrameAvailable+160)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant