-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
bugIssue is related to a bugIssue is related to a bugplayerIssues related to any player (main, popup and background)Issues related to any player (main, popup and background)
Description
Checklist
- I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
- I made sure that there are no existing issues - open or closed - which I could contribute my information to.
- I have read the FAQ and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected version
0.27.2 (and 0.27.3_RC2)
Steps to reproduce the bug
- Switch away in the middle of a video.
- Use another app or two for a minute.
- Resume Newpipe.
Tried with both YT and PT.
Expected behavior
For the app to be resumed exactly as it was left.
Actual behavior
The video is stopped and I'm back at the thumbnail. An error notification is generated.
Screenshots/Screen recordings
No response
Logs
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_FAILED_RUNTIME_CHECK]
- Content Country: CH
- Content Language: en-IN
- App Language: en_IN
- Service: YouTube
- Version: 0.27.3
- OS: Linux Android 14 - 34
Crash log
com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:628)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.os.HandlerThread.run(HandlerThread.java:85)
Caused by: java.lang.IllegalStateException: setSurface() is valid only at Executing states; currently at Released state
at android.media.MediaCodec.native_setSurface(Native Method)
at android.media.MediaCodec.setOutputSurface(MediaCodec.java:2405)
at com.google.android.exoplayer2.mediacodec.AsynchronousMediaCodecAdapter$$ExternalSyntheticApiModelOutline1.m(R8$$SyntheticClass:0)
at com.google.android.exoplayer2.mediacodec.AsynchronousMediaCodecAdapter.setOutputSurface(AsynchronousMediaCodecAdapter.java:264)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.setOutputSurfaceV23(MediaCodecVideoRenderer.java:1500)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.setOutput(MediaCodecVideoRenderer.java:694)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.handleMessage(MediaCodecVideoRenderer.java:632)
at com.google.android.exoplayer2.ExoPlayerImplInternal.deliverMessage(ExoPlayerImplInternal.java:1566)
at com.google.android.exoplayer2.ExoPlayerImplInternal.sendMessageToTarget(ExoPlayerImplInternal.java:1530)
at com.google.android.exoplayer2.ExoPlayerImplInternal.sendMessageInternal(ExoPlayerImplInternal.java:1505)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:533)
... 4 more
Affected Android/Custom ROM version
A14/LOS21
Affected device model
Pixel 5a
Additional information
This is only happening on the Pixel. Not on a Xiaomi Mi 5. So it may be device-specific.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue is related to a bugIssue is related to a bugplayerIssues related to any player (main, popup and background)Issues related to any player (main, popup and background)