I'm new in developing Windows Phone app, so sorry if I do some silly mistakes.
I can't play shoutcast on WP 8, I already tried what suggested on someone else thread, but it doesn't help.
Here's part of my code: (though it could play no shoutcast one)
private static List<AudioTrack> _playList = new List<AudioTrack>
{
new AudioTrack(new Uri("http://198.50.156.4:8062/;",UriKind.RelativeOrAbsolute), "Radio Vision", null, null, null, null , EnabledPlayerControls.All),
new AudioTrack(new Uri("http://live.radiocosmobandung.com.:8001/cosmo", UriKind.RelativeOrAbsolute), "Ardan Cosmo", null, null, null, null , EnabledPlayerControls.All),
};
have you already fixed your problem? I've found the solution in this project
You can't put the Shoutcast link in your playList on AudioPlayer class, so you need to set the playList like this:
and after you need to go on OnBeginStreaming method in AudioStreamer class and set the method like this:
you'll set the ShoutcastMediaStreamSource to do the stream of a Shoutcast link.
Oh, and one more thing (actually three). You'll need the Silverlight.Media.Phone and SM.Media in References of AudioStreamAgent, and the last one is put
on the header of AudioStreamer.cs.
And sorry for my english errors. (: