Mobile Stream Maintenance #491
Unanswered
herbibot
asked this question in
Help & Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The amplitude player I have issues with the playlist stopping on android Chrome and Firefox browser usually after the phone sleeps around 5 minutes. I have all the power saving and data saving options turned off. If the streaming would continue this would be a massive improvement IMO as it would function more similar to an app. Eventually this wakelock api seems like it will be helpful in the future with these issues https://developers.google.com/web/updates/2018/12/wakelock to force a system wake lock. Allowing screen to shut off but system to stay active. As far as workarounds now there are things like nosleep.js but those keep the screen active which is not great. However one thing I have noticed is that for example the player that is used by archive.org maintains a playlist long after the phone sleeps. So I can stream the same files for 9 songs and over an hour with no interruption even when phone sleeps but running that same song sequence playlist in amplitude it will just drop at the end of the second song and not try to initiate playing the third. I admit to not fully inspecting the javascript on my theory but I am curious if a playlist being fully loaded at the play initiation can have it set and continue to run when the device sleeps the javascript execution rather than at the end of each song trying to figure out what is next when the device is asleep. This is not meant as a complaint but just an area that seems like could offer a large improvement in functionality on mobile.
Beta Was this translation helpful? Give feedback.
All reactions