wildyeast / sadiss

A socially aggregated distributed sound system.
GNU Affero General Public License v3.0
10 stars 2 forks source link

App, iOS: BackgroundMode - What is possible? #53

Closed matbind closed 1 year ago

matbind commented 1 year ago

We need to try and get a definitive answer if WebAudio playback is possible if the app is in Background or the phone is sleeping. Android works okay for a couple of minutes (depending on make and model), on iOS the playback stops immediately. TTS works though.

Additionally, regardless of platform, devices seem to get more easily out of sync if the App is not in Foreground. This is not ideal if the case. Needs more testing.

matbind commented 1 year ago

BackgroundMode appears to be too much of a hassle. We now disabled all buttons during playback, preventing the user from accidentally locking the app or backing out, instead trying to keep playing. We will not investiate this avenue any further, at least for now.