Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
15 Views

Creating EGL context sometimes fails on Android

Hello developers, Sometimes when trying to create the EGL context, the application crashes. It seems to me the native call to EGL14.eglCreateContext() fails, which I am unable to debug. This is the crashlog I can see on the Java side: java.lang.RuntimeException: Failed to create EGL context at org.webrtc.EglBase14.createEglContext(EglBase14.java:252) at org.webrtc.EglBase14.(EglBase14.java:58) at org.webrtc.EglBase.create(EglBase.java:86) at org.webrtc.EglBase.create(EglBase.java:97) at org.webrtc.PeerConnectionFactory.setVideoHwAccelerationOptions(PeerConnectionFactory.java:189) at com.intel.webrtc.base.PCFactory$FactoryHandler.handleMessage(PCFactory.java:118) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.os.HandlerThread.run(HandlerThread.java:61) Would you be able to help me to prevent or fix this crash?
Tags (2)
0 Kudos