get "Failed to create EGL context: 0x3003" on android
See original GitHub issueHi,
import { RTCPeerConnection, RTCMediaStream, RTCIceCandidate, RTCSessionDescription, RTCView, MediaStreamTrack, getUserMedia, } from 'react-native-webrtc';
I added above code to App.js and double pressed R in andorid simulator. Then the error occurred:
Failed to create EGL context: 0x3003 createEglContext EglBase14.java:260 <init> EglBase14.java:58 create EglBase.java:86 create EglBase.java:97 setVideoHwAccelerationOptions PeerConnectionFactory.java:182 <init> WebRTCModule.java:68 createNativeModules WebRTCModulePackage.java:23 processPackage NativeModuleRegistryBuilder.java:106 processPackage ReactInstanceManager.java:1191 processPackages ReactInstanceManager.java:1161 createReactContext ReactInstanceManager.java:1094 access$800 ReactInstanceManager.java:112 run ReactInstanceManager.java:922 run Thread.java:761
- React Native version: 0.50.4
- Plugin version: 1.58.3
- OS: Android
- OS version: 7.1.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:11 (4 by maintainers)
Top GitHub Comments
This is known. There is a global EGL context, which we’ll leak if you reload the app bundle in debug mode. This does not happen in release mode, since this context will be alive for the lifetime of the application.
0x3003
isEGL_BAD_ALLOC
.