- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using PlayCordovaAudio() function to stream audio (Shoucast).
The MP3 audio source is playing well with this code:
playCordovaAudio('http://the.url:PORT/;stream.mp3');
But, when trying to play an AAC audio source, the audio starts and stops right away. Even when using the same function:
playCordovaAudio('http://the.url:PORT/;stream.aac');
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
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Esmailin -- I'd be very surprised if AAC encoding grows to cover more devices, given the dominance of MP3 for compressed audio and FLAC for uncompressed.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page