Checklist
Affected version
0.27.7
Steps to reproduce the bug
{"user_action":"play stream","request":"Player error[type=ERROR_CODE_TIMEOUT] occurred while playing https://www.youtube.com/watch?v=42O5G1ekYz4","content_language":"de-DE","content_country":"DE","app_language":"de_DE","service":"YouTube","package":"org.schabi.newpipe","version":"0.27.7","os":"Linux Android 7.1.1 - 25","time":"2025-06-17T07:57:26.613+02:00","exceptions":["com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error\n\tat com.google.android.exoplayer2.ExoPlayerImpl.setVideoOutputInternal(ExoPlayerImpl.java:2562)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.setVideoSurface(ExoPlayerImpl.java:1293)\n\tat org.schabi.newpipe.player.playback.SurfaceHolderCallback.surfaceDestroyed(SurfaceHolderCallback.java:53)\n\tat android.view.SurfaceView.updateWindow(SurfaceView.java:588)\n\tat android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:247)\n\tat android.view.View.dispatchWindowVisibilityChanged(View.java:10357)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1544)\n\tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)\n\tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337)\n\tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)\n\tat android.view.Choreographer.doCallbacks(Choreographer.java:686)\n\tat android.view.Choreographer.doFrame(Choreographer.java:621)\n\tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)\n\tat android.os.Handler.handleCallback(Handler.java:751)\n\tat android.os.Handler.dispatchMessage(Handler.java:95)\n\tat android.os.Looper.loop(Looper.java:154)\n\tat android.app.ActivityThread.main(ActivityThread.java:6165)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:792)\nCaused by: com.google.android.exoplayer2.ExoTimeoutException: Detaching surface timed out.\n\tat com.google.android.exoplayer2.ExoPlayerImpl.setVideoOutputInternal(ExoPlayerImpl.java:2560)\n\t... 34 more\n"],"user_comment":""}
Expected behavior
No exception
Actual behavior
com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response
Checklist
Affected version
0.27.7
Steps to reproduce the bug
{"user_action":"play stream","request":"Player error[type=ERROR_CODE_TIMEOUT] occurred while playing https://www.youtube.com/watch?v=42O5G1ekYz4","content_language":"de-DE","content_country":"DE","app_language":"de_DE","service":"YouTube","package":"org.schabi.newpipe","version":"0.27.7","os":"Linux Android 7.1.1 - 25","time":"2025-06-17T07:57:26.613+02:00","exceptions":["com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error\n\tat com.google.android.exoplayer2.ExoPlayerImpl.setVideoOutputInternal(ExoPlayerImpl.java:2562)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.setVideoSurface(ExoPlayerImpl.java:1293)\n\tat org.schabi.newpipe.player.playback.SurfaceHolderCallback.surfaceDestroyed(SurfaceHolderCallback.java:53)\n\tat android.view.SurfaceView.updateWindow(SurfaceView.java:588)\n\tat android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:247)\n\tat android.view.View.dispatchWindowVisibilityChanged(View.java:10357)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1290)\n\tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1544)\n\tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)\n\tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337)\n\tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)\n\tat android.view.Choreographer.doCallbacks(Choreographer.java:686)\n\tat android.view.Choreographer.doFrame(Choreographer.java:621)\n\tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)\n\tat android.os.Handler.handleCallback(Handler.java:751)\n\tat android.os.Handler.dispatchMessage(Handler.java:95)\n\tat android.os.Looper.loop(Looper.java:154)\n\tat android.app.ActivityThread.main(ActivityThread.java:6165)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:792)\nCaused by: com.google.android.exoplayer2.ExoTimeoutException: Detaching surface timed out.\n\tat com.google.android.exoplayer2.ExoPlayerImpl.setVideoOutputInternal(ExoPlayerImpl.java:2560)\n\t... 34 more\n"],"user_comment":""}
Expected behavior
No exception
Actual behavior
com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response