How to play streaming background audio in Windows Phone 7.5

十年热恋 提交于 2019-12-08 12:18:27

问题


I've seen a tutorial about how to play local files using a background agent in WP7 Mango but it specifically states that the tutorial is related to local files:

http://msdn.microsoft.com/en-us/library/hh202978(v=VS.92).aspx

Does a similar tutorial exist for streaming files from the web?


回答1:


I've used the same tutorial, and it works fine if you want to play something like a podcast that is stored as an mp3 file on a webserver. You just set an absolute Uri in the audiotrack.

I don't think you need to use the specific Streaming project unless you are doing live streaming.



来源:https://stackoverflow.com/questions/7111300/how-to-play-streaming-background-audio-in-windows-phone-7-5

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