Player (Audio) URL freezes the application android <12

Hello, I have a problem with the Player component, it works fine with url on android >12 but the application hangs on android <12, just by setting the source, the same thing happens to me with the Taifun Player extension.

Empty project, only a player component and Taifun Player, not even buttons, just by setting the source the app freezes.

I tested on several platforms and this happens on those that point to API34

I leave some of the many urls:

https://servidor1.hostradios.com:8030/stream
https://streaming.radiosenlinea.com.ar:10849//currentsong
https://ssl.dainusradio.com/shoutcast2/5256
https://host.azuracastnet.com/radio/8000/radio.mp3

Any suggestions?

those urls and their variants do not work, either in Player or TaifunPlayer.
(Android 10/11 test = freezes)
(Android Test >=12 = Ok)

Please provide your AIA project that demonstrates this behaviour.

These URLs do not work on any Android version. You need a WebViewer or an audio/media player with a visible interface (at least a start/pause button).

If they work, I have had stream radios with those URLs for a long time and they are in use.
If I compile in Kodular, which still uses API33, there is no problem.

Just place the component in an empty project and set the url, when loading the source the app crashes on Android <12

Yes, freezes companion on Android 6.01

Android >12

Android 10

None of your URLs work with the Player component on any Android version (also not on Android 12, 13, 14) and also not with any AI2 distro (Kodular, AI2, Niotron,...). And that applies to Companion and the APK.

Some of these work in a CustomWebViewer

Work in Android 4.2 to 13 (and perhaps 14) :grinning:

I just uploaded some videos, I think they speak for themselves.
No problem, I will continue looking for the solution, although I was hoping for a more informed answer coming from someone with such experience.
I have those urls configured in radios that were compiled in API33 and are working.

I have almost 20 test devices here (Android 2.3, 4.x, 5.x, 7.x, 8.x, 9, 10, 11, 12, 13, 14). I can't find any on which it works, neither with Companion nor the APK, nor Kodular...


So post your aia and tell us your device name and Android version.

As I said, they work with...

1 Like

StreamTest_AI2.aia (24.0 KB)


StreamTest_Kodular.aia (24.1 KB)


StreamTest_Niotron.aia (23.9 KB)

A pattern of those that block is that they transmit in AAC format and those that do work in MP3

:question:

The 2 devices used are Samsung.

You don't need a big project to carry out the tests, even by hooking the urls to the source and doing the tests, those were the results obtained on each platform.

The question is if the URL is definitely not working, it should not work on any version of Android, but it doesn't.

To avoid so much confusion, it is worth focusing on using a single URL, this works perfectly on Android >=12 but does not respond on Android 10.

https://ssl.dainusradio.com/shoutcast2/9938

alternatively try

Taifun

Hello, thanks for the suggestion, I already tried it and it also works fine on >=12 but it freezes on android 10.
Unfortunately I had to get an AIX from Deep... that uses the exoplayer library and it works perfectly, the font loading is practically imperceptible

I really don't know how many more URLs you want to post?

The fact that radio/streaming apps work with AI2 (using the Player component or TaifunPlayer extension) on all Android versions (on older devices possibly with HTTP instead of HTTPS) was discovered years ago and discussed extensively in all AI2 distro forums.

It seems that playing some (non-self-starting) streaming URLs actually works on some Samsung devices. In fact, I was able to play most of the URLs on a Samsung Galaxy Note8 (Android 9). On older Samsung devices Android 5 and 7, this only works with 1-2 of the last mentioned URLs and only if HTTP is used instead of HTTPS. Whatever trick Samsung uses here to start the stream, it's definitely not the standard for Android.

It does not work with most URLs (except for 1-2 that start automatically) on e.g. Google Pixel 2X (Android 11), 4 XL (Android 13), 7 Pro (Android 14), Motorola (Android 5.1), Huawei (Android 10), OnePlus 6 (Android 11), Xiaomi Redmi Note5 (Android 9), Xiaomi Mi 9 (Android 10), Samsung (Android 5, 7 and there only with HTTP), ...


Here is one of your URLs that should work on all Android versions:
https://sp0.redeaudio.com/8164/stream
http://sp0.redeaudio.com/8164/stream (for older devices)

Thanks for all the information, indeed that url does work in all of them and the others also worked until it was compiled in API34 and something changed.
For now I have solved the problem using an alternative option.

The strange thing is that using Kodular API33 they worked and now they suddenly stopped doing so, "it does not happen with the APKs generated a few weeks ago" it could be that a change is being applied and for that reason they were affected.

No, not on my test devices (maybe except the Samsung Note8).