-
-
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
Refactor how the player is started or changed #9225
Conversation
Oh wow here we go. |
There are some problems with background play
Video for issue 2 Record_2022-10-28-09-41-39_f07feaf9423ebf52102ad95eb98f2c1e.mp4Video for issue 3 Record_2022-10-28-09-46-35_f07feaf9423ebf52102ad95eb98f2c1e.mp4 |
Here we go indeed:
|
Currently, if a video is being loaded in the main player but hasn't started playing yet (meaning that a video and audio stream is being fetched), does tapping |
Full screen doesn't work as intended on phone, do you want it tested on a TV for other bugs? |
@bazipn This PR is very WIP right now. If you want to help test on TV, you're welcome to, but I would wait until the large list I've posted above gets solved, since some of those would be common to all form factors. If you don't mind testing anyway, please go ahead! |
Closing as it doesn't work well and it may cause even more strange bugs |
What is it?
Description of the changes in your PR
At the moment the code is in a highly experimental state. I don't know if the current approach is the right one: with this PR changes to the running player can be made through a static object, and while this seems to work well, I suspect there might be some concurrency/syncing/static problems, which could be causing unexpected crashes.
TODO
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
I expect crashes or wrong behaviors to happen in multiple scenarios, since I changed everything, and I mean everything, related to how the player is started or changed. Therefore please test the APK and try to spot as many bugs as possible, possibly providing STRs! @opusforlife2 @SameenAhnaf
Due diligence