流媒体视频和Windows Phone 7 中的音频

发布于 2024-10-01 21:24:47 字数 709 浏览 0 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

落墨 2024-10-08 21:24:47

您实际上不必指向原始文件。即使使用流 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文