OpenVidu Android 应用程序在离开会话时崩溃?



我正在尝试解决OpenVidu android文档中仍然存在的此问题。当我尝试离开会话时,应用程序崩溃并显示以下堆栈跟踪。

-------------堆栈跟踪----------------

2020-05-13 18:37:11.268 16277-18122/in.app.chirpz I/org.webrtc.Logging: WebRtcAudioTrackExternal: Stopping the AudioTrackThread…
2020-05-13 18:37:11.287 16277-18108/in.app.chirpz E/org.webrtc.Logging: EglRenderer: Exception on EglRenderer thread
2020-05-13 18:37:11.288 16277-18108/in.app.chirpz E/org.webrtc.Logging: EglRenderer: java.lang.RuntimeException: glUseProgram: GLES20 error: 1282
2020-05-13 18:37:11.288 16277-18108/in.app.chirpz E/org.webrtc.Logging: EglRenderer: java.lang.RuntimeException: glUseProgram: GLES20 error: 1282
at org.webrtc.GlUtil.checkNoGLES2Error(GlUtil.java:37)
at org.webrtc.GlShader.useProgram(GlShader.java:118)
at org.webrtc.GlGenericDrawer.prepareShader(GlGenericDrawer.java:246)
at org.webrtc.GlGenericDrawer.drawOes(GlGenericDrawer.java:159)
at org.webrtc.GlRectDrawer.drawOes(GlRectDrawer.java:14)
at org.webrtc.VideoFrameDrawer.drawTexture(VideoFrameDrawer.java:40)
at org.webrtc.VideoFrameDrawer.drawFrame(VideoFrameDrawer.java:213)
at org.webrtc.EglRenderer.renderFrameOnRenderThread(EglRenderer.java:662)
at org.webrtc.EglRenderer.lambda$vWDJEj1GWjHSjwoQQjEEK_IVOJE(Unknown Source:0)
at org.webrtc.-$$Lambda$EglRenderer$vWDJEj1GWjHSjwoQQjEEK_IVOJE.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at org.webrtc.EglRenderer$HandlerWithExceptionCallback.dispatchMessage(EglRenderer.java:103)
at android.os.Looper.loop(Looper.java:201)
at android.os.HandlerThread.run(HandlerThread.java:65)
2020-05-13 18:37:11.290 16277-18108/in.app.chirpz E/AndroidRuntime: FATAL EXCEPTION: local_gl_surface_viewEglRenderer
Process: in.app.chirpz, PID: 16277
java.lang.RuntimeException: glUseProgram: GLES20 error: 1282
at org.webrtc.GlUtil.checkNoGLES2Error(GlUtil.java:37)
at org.webrtc.GlShader.useProgram(GlShader.java:118)
at org.webrtc.GlGenericDrawer.prepareShader(GlGenericDrawer.java:246)
at org.webrtc.GlGenericDrawer.drawOes(GlGenericDrawer.java:159)
at org.webrtc.GlRectDrawer.drawOes(GlRectDrawer.java:14)
at org.webrtc.VideoFrameDrawer.drawTexture(VideoFrameDrawer.java:40)
at org.webrtc.VideoFrameDrawer.drawFrame(VideoFrameDrawer.java:213)
at org.webrtc.EglRenderer.renderFrameOnRenderThread(EglRenderer.java:662)
at org.webrtc.EglRenderer.lambda$vWDJEj1GWjHSjwoQQjEEK_IVOJE(Unknown Source:0)
at org.webrtc.-$$Lambda$EglRenderer$vWDJEj1GWjHSjwoQQjEEK_IVOJE.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at org.webrtc.EglRenderer$HandlerWithExceptionCallback.dispatchMessage(EglRenderer.java:103)
at android.os.Looper.loop(Looper.java:201)
at android.os.HandlerThread.run(HandlerThread.java:65)

我在这里遵循本教程 --> https://docs.openvidu.io/en/2.14.0/tutorials/openvidu-android/

任何帮助将不胜感激。

提前谢谢。

glUseProgram: GLES20 错误: 1282 表示图形 OME。
我建议,发布并清除图像到其他SurfaceViewRenderer。
因此,其他流将被停止,内存不会被填满

相关内容

  • 没有找到相关文章

最新更新