AudioPlayer behavior on Android Emulator/Phone

You must Login before you can answer or comment on any questions.

I have a Url that works in the Android emulator, iPhone emulator (and phone), but it doesn't work on an Android phone.

The Url is http://www.wcsb.org:8001/

I'm creating the player like this (hiStream is the Url):

var apCurrentPlayer = Titanium.Media.createAudioPlayer({
    url:data.hiStream,
    allowBackground:true
});
I'm outputting each state change, and here's what I see when I start and stop the stream.
iPhone Emulator
[INFO] player state changed to 1) starting
[INFO] player state changed to 2) waiting_for_data
[INFO] player state changed to 3) waiting_for_queue
[INFO] player state changed to 4) playing
[INFO] Switch set to stop
[INFO] player state changed to 6) stopping
[INFO] player state changed to 7) stopped
[INFO] player state changed to 0) initialized
Android Emulator
[INFO] [1734,18534] player state changed to 4) starting
[INFO] [32,18566] player state changed to 1) initialized
[INFO] [48,18614] player state changed to 3) playing
[INFO] [18,18632] player state changed to 3) playing
[INFO] [29100,47732] Switch set to stop
[INFO] [607,48626] player state changed to 6) stopping
[INFO] [10,48636] player state changed to 5) stopped
In the Android USB debugging I never see a state change output.

I've seen posts before about not having a file/extention not working, but this Url (http://132.162.36.191:8000/) for another stream works on the phone. And, the wcsb.org Url works in the emulator but not on the phone. Any help would be greatly appreciated.

Your Answer

Think you can help? Login to answer this question!