[UWP] Microsoft_Media_AdaptiveStreaming!DllCanUnloadNow Crash

[Update] It’s been fixed in the latest 1.0.161101 version, keeping this as reference.

[Update2] I’ve packade the smooth streaming plugin as a nuget package for easy installation:

If you develop Universal Windows Media apps that use Smooth Streaming you might have started to see this weird errors in your dev center health reports:

It took me a few days to figure it out, and the problem has nothing to do with your app, it a weird mix of the latest smooth streaming SDK (1.0.160526) + the latest Microsoft.NETCore.UniversalWindowsPlatform library (5.2.2)

To fix the problem, open you nuget package manager or your project.json and install the version:

“Microsoft.NETCore.UniversalWindowsPlatform”: “5.1.0”

I’ve also reverted the smooth streaming sdk to 1.0.150917 as you can’t download previous versions of the sdk from their website and that was the latest one I had here.

I hope someone at Microsoft gets this info and can investigate it further