Plyaing HLS on windows Store App

Topics: Windows 8 JavaScript
Dec 12, 2012 at 7:48 PM

Is there any way to play Http Live Stream HLS in windows store app, either javascript or xaml

Coordinator
Dec 13, 2012 at 8:27 PM

To support other streaming formats not natively supported by Windows in your app you need to ship Media Foundation Extensions with your app. This is just a library that you add to your project references and then you write a couple lines of code to connect them to the media foundation pipeline. After that, when you try to play that type of media in your app (via MediaElement or the video tag) the media pipeline in Windows will call out to the custom extension and it should just work. :)

The hard part of course is writing or finding a custom extension for your format (in this case HLS). If you choose to write your own, here's a good resource about custom extensions page on MSDN as well as a sample MPEG1 decoder. Alternatively, you may also be able to find 3rd party venders that have already gone through the trouble and could license it to you.