Hi,

I get the same problem. Did you solve this? Did you find out what
"error (1, -10)" means?

:Popper

On 6 Aug, 17:25, matthieu nicolazo <[email protected]>
wrote:
> Hello guys,
>
> I try to read some radio streaming with android media player but some
> errors occurs during the prepare() method.
>
> Here is my source code :
> "
> Log.w("[Player]", "+ setDataSource");
> mp.setDataSource("http://streaming.radio.rtl.fr/rtl-1-44-96";);
> mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
> Log.w("[Player]", "+ prepare");
> mp.prepareAsync();
> mp.setOnPreparedListener(this);
> mp.setOnBufferingUpdateListener(this);
> "
>
> Here is the log of device debugging on HTC Hero (target api level 3):
> "
> 08-06 16:03:04.241: WARN/[Player](715): + setDataSource
> 08-06 16:03:04.361: WARN/[Player](715): + prepare
> 08-06 16:03:07.561: ERROR/PlayerDriver(432): Command PLAYER_INIT
> completed with an error or info PVMFErrCorrupt
> 08-06 16:03:07.561: ERROR/MediaPlayer(715): error (1, -10)
> "
>
> Is there anybody that realize successfully a stream player like this ?
> Can anybody help me to correct my source code ?
> Or does media player can just play audio stream ?
>
> Regards,
> Matthieu

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to