your browser works flawlessly. It RECOGNIZES that this is an audio stream, and it allows it to play in the background while I do other things with my phone. The tab which is playing the audio never gets suspended. This is as it should be.
BUT, if I access the audio from a Kiwi SDR radio, such as
your browser does NOT recognize the tab as playing audio (even though it is definitely playing audio!), and, if I do something else with my phone while listening to the audio, it suspends itself after 10 minutes or so.
This is unacceptable.
Can this be fixed, so playing audio in the background from the Kiwi SDR is NEVER suspended?
sure, because the first url tells the browser in its headers explicitly it’s streaming audio/aac (icecast), the other is just a webpage frontend to sdr - not a streaming endpoint. They’re fundamentally different things.
The latter being software defined radio, if it could stream as icecast, the url would need to allow for input parameters for frequency/width anyway to know which radio band you want to stream. Talk to kiwisdr developers if they offer such an url endpoint.
Or as your underlying wish is for no backgrounding: look for other techniques to not let the OS background the browser - if it’s plugged you could disable battery management
So, could you explain exactly how the Murena browser recognizes a site with an un-discardable audio stream as being such. Is it by the headers alone? (If so, why is it that desktop browsers DO recognize the Kiwi SDR stream as an audio stream? They seem to universally be able to do that. But not Android mobile browsers like Murena’s.)
Could I append a non-functional keyword into the url I use to access the Kiwi SDR so as to “inform” the Murena browser that this is an audio stream tab that should never be discarded? (I tried appending */icecast/stream but it made no difference.)
Or do I have to go to the Kiwi SDR developers and ask them to do something to the headers they send?
I have spent many, many hours trying to find an Android browser that does not suspend unwatched tabs, but they don’t seem to exist any more. Even ones which have an option to not do that, do it anyway. (It’s as if some “higher authority” has decided what’s good for us. Shades of Windows!)
Really want to solve this problem. It’s unbelievably maddening to have my audio have to be restarted every few minutes, and being tethered to a charging wire isn’t an option.