Are there any known compatibility issues with Microsoft Media Platform: Player Framework (formerly SMF) and Silverlight 5?

StackOverflow https://stackoverflow.com/questions/8562937

Pergunta

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?

Foi útil?

Solução

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.

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top