Player (Audio) URL freezes the application 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).

When compiling now, they already work but I have APKs from a while ago that still work

On which device(s) and Android version?

I meant that if I compile now they already fail, but I have APKs from a while ago that still work.
Same Samsung devices 12 and 10

Ok, but it won't work on other (non-Samsung) devices.

This APK was built a few weeks ago on Kodular and works with the same URL on both devices using Player.
https://ssl.dainusradio.com/shoutcast2/9938