Windows Phone 8 - Playing streamed audio (internet

2020-03-27 02:16发布

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

3条回答
倾城 Initia
2楼-- · 2020-03-27 02:29

I found phonesm project on codeplex that provides great examples and functionality for implementing internet audio streaming.

查看更多
何必那么认真
3楼-- · 2020-03-27 02:37

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

查看更多
地球回转人心会变
4楼-- · 2020-03-27 02:38

You can use Microsoft player framework.

For more details Player Framework

查看更多
登录 后发表回答