I am using PlayCordovaAudio() function to stream audio (Shoucast).
The MP3 audio source is playing well with this code:
But, when trying to play an AAC audio source, the audio starts and stops right away. Even when using the same function:
Here is the app that I am developing. If you want, you can download it and test it: View on Google Play (the first radio play is from the .mp3 audio source, the second one is an AAC audio source).
Any idea how could I fix this?
Thank you in advance
Esmailin -- we do not have the resources available to deal with pure programming and Cordova API issues. I recommend that you search the Cordova tag in StackOverflow for help. The Intel XDK creates standard Cordova (aka PhoneGap) apps and any solutions you find for Cordova apps will apply to your XDK app.
Esmailin -- some additional info provided by one of our Cordova experts:
Different devices support different codecs - I would guess that this could be a device specific issue. It's quite possible that the device you are testing with simply does not support AAC encoding.
Got it, so, looks like AAC is not the best option to stream audio in Android at the moment... At StackOverflow they told me that may be for the Server version, but tried different versions, and the problem still not solved. So looks like I gonna have to wait for the AAC technology to grow a little bit more...