todo: fix playback stopping on phones if slow preload

This commit is contained in:
ed 2024-04-02 23:20:58 +00:00
parent 34c32e3e89
commit f471b05aa4

View file

@ -1,5 +1,8 @@
a living list of upcoming features / fixes / changes, very roughly in order of priority a living list of upcoming features / fixes / changes, very roughly in order of priority
* ensure continuous music playback on android w/ unreliable network
* playback stops if preload doesn't finish before end of current track, but suspiciously resumes when phone is unsuspended and browser gets focus... preloading earlier is a band-aid; some filler / comfortnoise probably better, but the browser probably requires the play-action to be chained from an end-of-track event... maybe make two audio objects (wn1/wn2) with ≈2sec audio and eot-hop between them until au2 is ready, maybe assembled at runtime by repeating an mp3 frame (b64 is a bit sus)
* download accelerator * download accelerator
* definitely download chunks in parallel * definitely download chunks in parallel
* maybe resumable downloads (chrome-only, jank api) * maybe resumable downloads (chrome-only, jank api)