SkyTube icon indicating copy to clipboard operation
SkyTube copied to clipboard

Dual, parallel audio playback on system event

Open gryzor2 opened this issue 6 months ago • 1 comments

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 avatar Aug 02 '24 09:08 gryzor2