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

Dual, parallel audio playback on system event #1297

Open
gryzor2 opened this issue Aug 2, 2024 · 1 comment
Open

Dual, parallel audio playback on system event #1297

gryzor2 opened this issue Aug 2, 2024 · 1 comment
Labels

Comments

@gryzor2
Copy link

gryzor2 commented Aug 2, 2024

Describe the bug
When some Android system event happens, the current playback of a downloaded video starts is restarted. Only one video stream is displayed, but I can hear the audio chanel twice. One is at the current time of the playback at the time of the system event, the other stream is the same video, but started at the start of the video.

To Reproduce
Steps to reproduce the behavior:

  1. Download a video
  2. Playback the video
  3. While the video is playing, let a system event (such as "battery is now lower than 25%") occur.
  4. Current video keeps playing, but another audio instance of the same video is started in parallel.

Please note that "battery is now lower than 25%" is a real example that triggers the problem, but I'm quite convinced other events can trigger the same misbehavior.

Expected behavior
System events should not impact playback this way. No dual playback should ever occur.

Setup:

  • This is grapheneOS, stable (build 2024072800 ; Android 14), up to date, running on Pixel 6a
  • Is Your device rooted? Yes
  • Do You use Tor or any VPN service with your device? No.
  • App source FDroid.
  • App Version 2.989 (2024-07-16 20:22). The bug was already occuring on older versions.
  • App Flavour : I don't know what that means

Additional context
Add any other context about the problem here.

@gryzor2 gryzor2 added the bug label Aug 2, 2024
@drogga
Copy link
Contributor

drogga commented Aug 3, 2024

You are a ver. behind, but I guess given that there are no changes made regarding this, that it will be the same with 2.990.
Anyway, it was fixed before for the streaming, but it appears not for playback of the DLed.

Flavour: Oss or Extra, since you got it from F-Droid > Oss, I recommend switching to the releases from GitHub in future (this won't fix the issue and you will have to do a clean install, an update won't work, because the signatures are different).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants