问题
I am trying to make an application that would play an audio stream (mp3) from the following URL http://icecast6.play.cz/radio1-128.mp3. I am struggling to get it working. Is there any default support for cases like these? That the content is continuously streamed?
I have tried to use Background Audio Agent and set Media Element but none of that has been working for me. Would Background Audio Streamer be an option for me? I would be happy for any similar example that I would use to my advantage.
Thank you
回答1:
I found phonesm project on codeplex that provides great examples and functionality for implementing internet audio streaming.
回答2:
You need to use BackgroundAudioPlayer by creating another project and adding its reference to your project.
Check this link:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978%28v=vs.105%29.aspx
回答3:
You can use Microsoft player framework.
For more details Player Framework
来源:https://stackoverflow.com/questions/23541390/windows-phone-8-playing-streamed-audio-internet-radio-station