Skip to content

Background playback / screen lock issues on iOS #100

@cpcallen

Description

@cpcallen

After I got the demo working (thanks to #27) I was able to use the app as intended, but I note a number of behaviours related to background playback that make it less useful than it might be:

  1. Although playback continues if I switch to a different tab, retuning to the home screen or switching to a different app causes it to stop.
  2. If I leave the demo page in the foreground but do not interact with it my phone's display will lock after the configured interval, at which point playback will stop.
  3. Same if I lock my phone using the power button.
  4. In each of the cases above, if I return to the demo page I will find Bassoontracker in a state where pressing the play button does not resume playback but instead toggles between the usual pause display (vaveform visualisers flatlined) and one where waveforms are displayed but the actual playback seems to be frozen, with no sound produced. The only way I have so far found to get it unstuck is to reload the page. (Controls otherwise seem to work as expected, e.g. I can change songs etc.)

It would be useful if background playback worked reliably, or failing that if at least it would prevent my phone from sleeping (though I note that even m.youtube.com seems to be unable to do this when playing back shorts, so perhaps this is not actually possible in certain cases, for whatever reason).

This is on Chrome 144.0.7559.95 running on iOS 18.7.1 (22H31) on an iPhone 13 mini.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions