Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello everyone,
I would appreciate all sorts of help in this matter. I have to incorporate an audio stream into a windows phone application and I am failing to do so. Can you please help me out? Uptill now I have this:
C#
try
            {

                Uri src = new Uri("ms-appx:///Assets/stream/wmp.asx", UriKind.Absolute);
                mPlayer.Source = src;
                mPlayer.Volume = 100;
                mPlayer.Play();
            }
            catch (Exception ex)
            {
                label.Text = ex.Message;
            }

Here is a link to the original stream.
http://station.voscast.com/55b20aabb0836/[^]
I have tried incorporating the ".asx", ".pls", ".ram" but none of it works. please help me out.

UPDATE: I just got to know that it's a shoutcast stream.
Posted
Updated 22-Aug-15 1:01am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900