流媒体视频和Windows Phone 7 中的音频
我有一个 ASX 流,我想在 Windows Phone 7 上播放。 看起来 WP7 无法处理客户端播放列表,例如 ASX 文件。那我现在该怎么办?
当我闯入 ASX 文件时,我发现它实际上是一个没有文件扩展名的 mms://
流,因此我什至无法指向原始文件。
我该如何继续?有没有比 MediaElement
控件更好的选项来处理 ASX 文件?
更多信息:
我的流是音频/视频,分别采用 WMA2/WVC1 编码,以 640x360 运行。因此,根据支持的文件类型,< code>MediaElement 控件应该能够毫无问题地处理它。
I have an ASX stream that I would like to play on my Windows Phone 7. It appears that WP7 cannot handle client-side playlists, like an ASX file. So what do I do now?
When I break into the ASX file, I see it's actually a mms://
stream with no file extension, so I can't even point to the raw file.
How do I proceed from here? Is there a better option than the MediaElement
control that will handle ASX files?
More Info:
My stream in question is audio/video, with WMA2/WVC1 encoding, respectively, running at 640x360. So according to the supported filetypes, the MediaElement
control should be able to handle it no problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您实际上不必指向原始文件。即使使用流 URL,您也可以接收数据位(假定可以通过 HTTP 请求访问流)。我最近在此处写了一篇关于接收连续流的文章。
获得这些位后,通过 MediaStreamSource 获取编码流并将其传递给 MediaElement。
You don't actually have to point to the raw file. Even with the stream URL you can receive the data bits (given that the stream can be reached via a HTTP request). I recently wrote about receiving continuous streams here.
Once you have the bits, pass them through MediaStreamSource to get the encoded stream and pass it to MediaElement.