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

All videos +15min length, pause randomly when playing on background (on android 11?) #1206

Open
10 tasks
keikari opened this issue Jul 19, 2021 · 10 comments
Open
10 tasks

Comments

@keikari
Copy link

keikari commented Jul 19, 2021

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
@keikari keikari changed the title All videos +15min length, pause randomly when playing on backgroung on android 11 All videos +15min length, pause randomly when playing on background (on android 11?) Jul 19, 2021
@ghost
Copy link

ghost commented Jul 19, 2021

Perhaps its related to battery optimizatuon feature?
Exclude the app from it and see IF helps

@tzarebczan
Copy link
Contributor

The user said that was turned off. We think it may be related to Android 11.

@kekkyojin
Copy link
Collaborator

LBRY Android/FDroid version?

@keikari
Copy link
Author

keikari commented Jul 21, 2021

LBRY android, installed from Playstore

@NostalgicStone
Copy link

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

@kekkyojin
Copy link
Collaborator

LBRY android, installed from Playstore

Latest one?

@NostalgicStone
Copy link

Yes, latest version.

@IanHead
Copy link

IanHead commented Jul 30, 2021

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.

@tzarebczan
Copy link
Contributor

Another report of this on Odysee app with:

  • Battery optimization disabled
  • Pixel 4A Android 11
  • Samsung Galaxy S9 with Android 10

@kekkyojin
Copy link
Collaborator

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

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

5 participants