-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Livestream -> Background: unrecoverable player error #6989
Comments
Hi. |
Are you facing the issue on a specific video? What services do you face the issue on (e.g. YouTube or SoundCloud)? |
It's happened again today. This time I was trying to listen to this livestream as background (https://youtu.be/6vTb5Tmg14g). |
Edited issue: the "steps to reproduce the bug" section was commented out Additional findingsemi-related: #6232 (comment) There is a certain phase after the end of a livestream during which you can re-open it (when the stream ends and maybe for 1 min afterwards, NewPipe can't play it, saying "end of stream") and you can seek throughout the livestream (During the stream, it just shows a progress bar a few seconds long and you can't seek backwards more than a few seconds). However, in this case, it doesn't show the current time out of the total time in the audio / Play Queue UI like it usually does |
Seems to have been introduced by dfa941a, going by my testing. (Test APKs before that point will successfully background play streams without the need to foreground play first.) My steps for testing were: add Lofi Girl stream (currently here) to a new playlist, then Background play the playlist and see if I get an unrecoverable player error. |
Same Error on Redmi Note 10 pro with Stock or Custom ROM, Android 11 |
Reporting similar issue on Samsung M20 running LineageOS 18.1 (Android 11), still persists on the latest version (0.21.10 at the time of writing) |
Here is the stack trace of the error which comes from adb:
It looks like the video surface needs to be not again released when using background player (because streams of most livestreams (like YouTube livestreams) that we can use are streams with audio and video in the same file). |
Oddly enough I found a condition where it works - start playing in the foreground and then switch to another app with the OS task switcher. |
This was mentioned earlier. Issue still present in 0.21.13 |
issue still present 0.21.13 S9+ but Im chiming in because im almost positive this this work around ^ causes the player to keep consuming a 480p video stream rather than switching to audio only stream as the background play would do im burning through a lot of data while driving because of it :( |
ive been using this workaround for months but almost positive the phone keeps consuming a video stream based on the bandwidth use, during real audio only background play before this bug started the bandwidth use was around 1/6th what it is with the workaround |
same issue here, I want to save bandwith while watching live stream but get this error while trying to play the live feed in background mode. |
Getting this too (Lineage OS/MicroG 18.1), however for me it works tapping on the Play button to play in background after the 'Unrecoverable Player error' occured (since noone seemed to mention it yet). np_live_unrePl.mp4 |
I've tryied your tip but if you pay attention you see the video stream playing behind, which means it is not audio background only and as a result still consume normal video bandwidth |
I've noticed since 0.22.1 (haven't noticed it before so I can't tell if it's something new or not) that playing a live stream (Lofi) in background works fine when using wifi but not cellular data. Exception
Crash log
No error when using wifi and plays live stream in background as expected. Edit: A word and formatting Edit 2: : Hah, just noticed something else. If I set the |
Fixed by #8020. |
Checklist
Steps to reproduce the bug
Background
button (icon of headphones)Actual behavior
pop-up: "Unrecoverable player error occurred"
However, playing as video and then pressing the android home button allows it to play in the background (though tapping the notification will bring back the video rather than the usual audio-only control interface)
Expected behavior
It should play in the background (audio only)
Screenshots/Screen recordings
Logs
N/A, no crash/prompt to report bug
Device info
The text was updated successfully, but these errors were encountered: