Windows Phone 7 ASX 流媒体
我正在尝试一个播放 asx 流文件的小应用程序。我的理解是我应该解析 asx 并获取 URL。但就我而言,ASX 中的 REFHREF 点如下 www.website.com:8084。这是服务器配置需要修改吗?对于这个音频流协议来说是全新的。任何建议将不胜感激... 当我使用 ww.website.com/file.MP3 进行测试时,我的代码流音频正常
I'm trying a small app which play a asx streaming file. My understanding was i should parse the asx and get the URL. But in my case, REFHREF in ASX points like this www.website.com:8084. Is this the server configuration need to be modified ? Totally new to this audio streaming protocols. Any suggestion would be much appreacited ...
My code streams audio fine when i test with a ww.website.com/file.MP3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自 refhref 的 URL 很可能会引导您到另一个 asx 文件,该文件需要再次解析,我建议递归解析,直到您到达有效的可播放流! Wp7 支持 asx 流,但不允许(对某些标记抛出异常检查 这里)
所以你必须自己解析asx,提取URL并进一步处理它!
祝你好运!也发表你的发现!
the URL from refhref may most probably lead you to another asx file, which needs to be parsed again, i would advice recursively parsing till u reach a valid playable stream! Wp7 supports asx streams but it disallows(throws an exception for some tags check here )
so you will have to parse the asx yourself, extract the URL and process it further!
Good Luck! post your findings too!