I would like to receive an audio stream from an application running on
a PC using the 802.11 connection. I tried the following and received
Error (-1, 0) from the MediaPlayer:
mp = new MediaPlayer();
mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
mp.setDataSource("http://10.1.201.114:11224");
The MediaPlayer does connect to the application and the application
starts sending audio but nothing happens on the G1. Is the
setDataSource call above correct? If so, how do I set things like
sample rate, etc? If not, any help would be great!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---