icidasset / diffuse

A music player that connects to your cloud/distributed storage.
https://diffuse.sh
Other
811 stars 68 forks source link

Audio doesn't play in the background when using PWA on iOS #281

Closed icidasset closed 2 years ago

icidasset commented 3 years ago

Tracking issue: https://bugs.webkit.org/show_bug.cgi?id=198277#c53

To do, experiment with:

Background audio is essential for my app so I have had to degrade the UX and modify my PWA to display: "minimal-ui" on ios devices. This at least allows background audio continue in the background.

icidasset commented 2 years ago

Should work now on iOS with regular <audio> elements. Might implement #326 as a solution.

icidasset commented 2 years ago

Partially fixed with latest audio engine changes (not released yet). Audio plays in background, but does not play next track when current one ends.

icidasset commented 2 years ago

Fixed by disabling the single-audio-node mode on Safari.