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

java.lang.RuntimeException: Surface frame wait timed out #266

Open
Zhaoyuntao opened this issue Oct 27, 2023 · 1 comment
Open

java.lang.RuntimeException: Surface frame wait timed out #266

Zhaoyuntao opened this issue Oct 27, 2023 · 1 comment

Comments

@Zhaoyuntao
Copy link

Hi friend, recently I got this exception on our reporting platform and it hasn't happened before. I have no idea about what can triggers this exception, have you ever had a similar problem? Over 90 percent of the devices are sumsung Galaxy A12 and A50s.

This is the stack trace:

java.lang.RuntimeException: Surface frame wait timed out at com.linkedin.android.litr.render.VideoRenderInputSurface.awaitNewImage(VideoRenderInputSurface.java:125) at com.linkedin.android.litr.render.GlVideoRenderer.renderFrame(GlVideoRenderer.java:143) at com.linkedin.android.litr.transcoder.VideoTrackTranscoder.resizeDecodedInputFrame(VideoTrackTranscoder.java:230) at com.linkedin.android.litr.transcoder.VideoTrackTranscoder.processNextFrame(VideoTrackTranscoder.java:140) at com.linkedin.android.litr.TransformationJob.processNextFrame(TransformationJob.java:211) at com.linkedin.android.litr.TransformationJob.transform(TransformationJob.java:108) at com.linkedin.android.litr.TransformationJob.run(TransformationJob.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923)

@Zhaoyuntao
Copy link
Author

I read the source code and I noticed this wait logic:
image

Does it trigger the exception after 10 seconds If I canceled the transformationJob before this wait ending?

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