All videos +15min length, pause randomly when playing on background (on android 11?)
The Issue
User has reported videos randomly pausing for every video which is at least 15 mins long.
Happens when app is on the background.
Doesn't matter if screen on/off
Doesn't matter if charging or not
Doesn't matter if floating mini player is on/off
Had stable and strong WIFI connection
"Enable background playback" and "Keep the LBRY service running in the background..." are enabled
Didn't happen with any other app
User's device: Pixel 4A Android 11
I couldn't reproduce on android 10.
Link to the original issue: https://www.reddit.com/r/lbry/comments/om7eqh/lbry_keep_pausing_during_background_play/
Internal Use
Acceptance Criteria
Definition of Done
- [ ] Tested against acceptance criteria
- [ ] Tested against the assumptions of the user story
- [ ] The project builds without errors
- [ ] Unit tests are written and passing
- [ ] Tests on devices/browsers listed in the issue have passed
- [ ] QA performed & issues resolved
- [ ] Refactoring completed
- [ ] Any configuration or build changes documented
- [ ] Documentation updated
- [ ] Peer Code Review performed
Perhaps its related to battery optimizatuon feature? Exclude the app from it and see IF helps
The user said that was turned off. We think it may be related to Android 11.
LBRY Android/FDroid version?
LBRY android, installed from Playstore
Hello I'm the user who reported this issue. I can confirm that all the details keikari reported are correct. I'd be happy to help in any way I can
LBRY android, installed from Playstore
Latest one?
Yes, latest version.
I have experienced the exact same behaviour, on a Razer Phone 1 running Android 9 (Pie). That same phone is now running LineageOS 11, experiencing the same issue. I've been able to reproduce the behaviour from both the Play Store and F-Droid versions of the app.
One thing I will add too is that if a video was running via picture-in-picture, and I check back to find it has stopped playing, I find the floating window is showing the LBRY splash screen where the video would be. Maximising the window seems to make the app start up again and (usually) starts playing the video again from the same place it stopped.
Another report of this on Odysee app with:
- Battery optimization disabled
- Pixel 4A Android 11
- Samsung Galaxy S9 with Android 10
This bug is independent of the Android version, as it is also reproduced on my device running Android 8.1.
Furthermore, problem only appears when app is not on picture-in-picture mode