I've discovered that the Android Background Audio is fine playing stored HE-AACv1 format audio files (.m4a extension), but chokes and crashes my app when attempting to play a live HE-AACv1 format audio stream (.aac extension, which is an ADTS transport stream format) from either Shoutcast v2 or Icecast. This is an odd oversight on LiveCode's side since a very large number of radio stations on the Internet use HE-AACv1 or HE-AACv2 in ADTS format on the admittedly vintage Shoutcastv2 and Icecast (ICY) servers.
For my Cinque Ports Radio app that relies on Android Background Audio to make it usable, this is limiting the data efficiency of the app as I'm forced to use the archaic MP3 live audio streams which it does work with. I'm going to file a bug report on this but wanted to share this discovery here in case any other LiveCode developers bump into this bug.
I thought I had it working with LiveCode 10.0.0 DP 6 only to later discover I had made a typo in my code and the app was still connecting to an old 192k MP3 stereo stream instead of the intended 80k HE-AACv1 stereo stream. Any app for playing live audio over the Internet relies on Android Background Audio or it becomes a useless app.
Android Background Audio and Live HE-AACv1 Streams
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Android Background Audio and Live HE-AACv1 Streams
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Re: Android Background Audio and Live HE-AACv1 Streams
This issue has been submitted with a sample stack as Bug 24337.
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Re: Android Background Audio and Live HE-AACv1 Streams
Hi Kaputlard,
LiveCode 10.0.0 DP7 has this fixed! I used that version for version 2.1 of the Cinque Ports Radio app and all is well with playing the live HE-AACv1 streams.
Cheers,
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/
Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/