- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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...
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
