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

IllegalStateException: Unable to update texture contents (see logcat for details) #1253

Open
casanovawu opened this issue Sep 27, 2023 · 2 comments

Comments

@casanovawu
Copy link

[SurfaceTexture-19-21130-19] checkAndUpdateEglState: invalid current EGLContext
updateAcquireFence: Did not find frame.
FATAL EXCEPTION: VideoEncoder
Process: cc.shantu.syxj, PID: 21130
java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:251)
at com.otaliastudios.cameraview.overlay.OverlayDrawer.draw(OverlayDrawer.java:81)
at com.otaliastudios.cameraview.video.encoding.TextureMediaEncoder.onFrame(TextureMediaEncoder.java:218)
at com.otaliastudios.cameraview.video.encoding.TextureMediaEncoder.onEvent(TextureMediaEncoder.java:146)
at com.otaliastudios.cameraview.video.encoding.MediaEncoder$3.run(MediaEncoder.java:244)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:223)
at android.os.Looper.loop(Looper.java:324)
at android.os.HandlerThread.run(HandlerThread.java:67)

@casanovawu
Copy link
Author

During the video recording process, there was an exception in continuously starting/pausing the recording

@KangJuO
Copy link

KangJuO commented Jan 16, 2024

Same here..

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

2 participants