Workaround for errors with adaptive streaming.

Topics: Windows 8 Xaml
Nov 18, 2014 at 4:07 PM
We have lately had different problems with adaptive streaming.
After calling AdaptiveSourceManager.GetDefault(); we got this error:
Requested Windows Runtime type 'Microsoft.Media.AdaptiveStreaming.AdaptiveSourceManager' is not registered.":"Microsoft.Media.AdaptiveStreaming.AdaptiveSourceManager"}

And other developers got other errors when trying to play adaptive streams.

For us it's now works after we modify the content of Package.appxmanifest with the following:
After the </Applications> element:

<Extension Category="windows.activatableClass.inProcessServer">
    <ActivatableClass ActivatableClassId="Microsoft.Media.AdaptiveStreaming.AdaptiveSourceManager" ThreadingModel="both" />
Nov 25, 2014 at 1:35 PM
Thank you very much, it's been very useful.

It has been working for a few months and "suddenly" it stopped working.

I say "suddenly" because I'm working on different projects with different versions of PlayerFramework (silverlight web and oob, WP8 and Win 8.1)
and as soon as I reinstalled packages for working with the old Silverlight 5, the Windows Store App started giving me this problem.

I suspect that there's a connection, but couldn't find a solution for a few hours, until now, so thanks a lot.
Dec 3, 2014 at 7:37 AM
This is also working for me. My windows 8 store app stopped working with a OutOfMemory Exception on all of my machines. It also falls within the timeframe of the VS2013 Update 4.

Thank you!
Mar 25, 2015 at 1:26 PM

This fix worked perfectly for me!