Windows Phone 8 - Playing streamed audio (internet radio station)

允我心安 提交于 2019-12-01 08:52:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!