如何在Windows Phone的7.5流媒体播放背景音乐 [英] How to play streaming background audio in Windows Phone 7.5

查看:103
本文介绍了如何在Windows Phone的7.5流媒体播放背景音乐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到一个关于如何使用WP7芒果一个后台代理播放本地文件的教程,但它明确规定,本教程涉及到本地文件:

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?

推荐答案

我用同样的教程,如果你要玩这样的事情又保存在网络服务器的MP3文件的播客它工作正常。你只需在audiotrack设置绝对URI。

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.

这篇关于如何在Windows Phone的7.5流媒体播放背景音乐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆