Search code examples
windows-phone-7audiostreamingmp3

Playing mp3 Audio files in WP7


I want to stream an audio from server using windows phone 7

the audio extension is mp3. I have tried Mp3MediaStreamSource class but the problem was that it downloads all the audio then start playing it.

I want to know what is the best way to play audio in WP7 for platform 7.0 ( with buffering -> not waiting until the entire audio file is downloaded.

Thanks in advance


Solution

  • I use Background Audio agent do stream mp3 radio broadcast. Take a look at this tutorial http://msdn.microsoft.com/en-us/library/hh202978(v=VS.92).aspx