Microsoft Media Platform: Player Framework(以前称为 SMF)和 Silverlight 5 是否存在任何已知的兼容性问题?

发布于 2024-12-22 01:30:59 字数 458 浏览 1 评论 0原文

我正在尝试让 MMPPF 框架工作的默认模板(自适应流)。 目前我没有收到任何错误,但播放器不播放任何视频。我尝试添加除默认源之外的其他源,我可以看到它们已添加到播放列表中,但它们也不会播放。

使用 Fiddler,我可以看到玩家甚至没有尝试检索清单(或其他任何内容)。 在线示例此处有效好吧,我什至尝试使用该清单作为源,但当我在 Visual Studio 中运行它时它仍然无法播放。

所以我的问题是,这与安装 Silverlight 5 工具包有什么关系吗?我假设 MMPPF/SMF 模板应该可以开箱即用(Codeplex 网站上也有说明)。还是我还缺少其他东西?

I'm trying to get the default template (adaptive streaming) for the MMPPF framework to work.
Currently I'm not getting any error, but the player does not play any videos. I've tried adding other sources besides the default, I can see them added in the playlist, but they won't play either.

Using Fiddler I can see that the player does not even attempt to retrieve the manifest (or anything else).
The online example here works fine, I've even tried using that manifest as a source, but it still won't play when I run it in Visual studio.

So my question, could this have anything to do with having Silverlight 5 toolkit installed? I would assume that the MMPPF/SMF template is supposed to work out of the box (which is also stated on the Codeplex site). Or is there something else I'm missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

尛丟丟 2024-12-29 01:30:59

您可能需要添加一些对您的项目的引用。 MMPPF 使用 MEF 在运行时解析插件,如果找不到合适的插件,它可能会默默失败。

例如,对于平滑流式传输,您需要 Microsoft.SilverlightMediaFramework.Plugins.SmoothStreaming 和 Microsoft.Web.Media.SmoothStreaming 才能正常工作。


更新:

我在迁移项目时遇到了另一个参考问题。我必须删除并重新添加 System.ComponentModel.Composition,然后添加 System.ComponentModel.Composition.Initialization。

You may need to add some references to your project. MMPPF is using MEF to resolve plugins at run-time, and it can fail silently if it doesn't find a suitable plugin.

For Smooth Streaming, you need both Microsoft.SilverlightMediaFramework.Plugins.SmoothStreaming and Microsoft.Web.Media.SmoothStreaming for it to work for instance.


Update:

I've encountered another reference issue when migrating a project. I had to remove and re-add System.ComponentModel.Composition, then add System.ComponentModel.Composition.Initialization.

娇纵 2024-12-29 01:30:59

我尝试卸载 MMPPF 客户端安装的平滑流客户端,并从 此处,添加了对新 dll (Microsoft.Web.Media.SmoothStreaming.dll) 的引用,一切正常。

I tried to uninstall the Smooth Streaming Client that the MMPPF client installed and installed the newest from here, added a reference to the new dll (Microsoft.Web.Media.SmoothStreaming.dll) and everything worked.

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