HTTP Live Streaming (HLS) on Windows Phone (free solution)

If you want to write an app that supports live streaming on Windows Phone, the streaming server should support one of the Microsoft encodings. Nothing wrong with the Microsoft smooth streaming. The issue that most of the TV stations support only Apple HLS.

Looking around for an HLS adapter (3rd party library) for Windows Phone wasn’t . My first option was 3ivx library, which is actually brilliant! and it supports Windows 8 store apps too. But the pricing is a little bit expensive. 


So 3ivx wasn’t a good option “for me”. Luckily I found an open source project (man, I love open source Smile ), Windows Phone Streaming Media is a MediaStreamSource built by henric that supports HLS! Using the Player Framework and adding the Windows Phone Streaming Media plugin and you’re done!! it supports both Windows Phone 7 & Windows Phone 8.



To implement it in your project, download the Windows Phone Streaming Media source code and add the right references to your project. Happy coding Smile




You can read more about Windows Phone & other MS techs from my blog

Comments (11)

  1. Bens says:


    I am looking for an app that can play HLS

    Any chance that you publish a player in the MS Marketplace???

    Every time i search i fall back to this codeplex website, i am not a developper, i don't know how to use that…

    Thank you

  2. Tareq Ateik says:

    Hi Bens, HLS is a streaming protocol by apple. Do  you have m3u8 file you want to play?

  3. John says:

    May I ask how much the 3ivx adapter is and if you know of any other open source adapter for Windows Store Apps?

  4. Dominic says:

    Hi Bens, am new in windows phone, but I want to stream video from my windows phone to another windows phone. I want to use the camera to capture and stream the video being captured live. How can I achieve this?

  5. Dave says:

    Hi Tareq

    I've tried and went through the steps…but I'm getting error…would you please demonstrate using photos how to implement and can we use this source (which is open source):…/akamai_multi_player


  6. Sagheer says:

    @john HLS Adapter from 3ivx is starting from 3500$. And believe me, if you can afford and get 3500$ back from app, 3ivx is best solution.

  7. Purushotham says:

    Unable to add the reference to SM.Media.dll and SM.Media.Platform.WP8.dll

    giving error "A reference of higher version or in compatible assembly cannot be added to the  project"

    How to resolve it..?

  8. Why don't you use Azure Media Services , it will handle the transcoding and dynamic packaging for your media content so that you can publish to all platforms

  9. Henric Jungheim says:

    @Purushotham if you are using binaries from phonesm-20130921, then you may be referencing an older version of Player Framework than what is installed on the build machine.  You might try to see if you can build the example app from the same phonesm zip file to see if you get the same error.

    If you're not comfortable building from the current source, then I am working on putting together a new download (this week, hopefully).  If you only have VS Express, you can still build SM.Media and SM.TsParser, but you will need to build those two projects from the command line with "msbuild".

    Also, I'm more likely to see questions over at the phonesm "Discussions" page (

  10. where can I find the right references to add to the project? says:

    where can I find the right references to add to the project?.

    Can you give me the exact path of the dlls required.

  11. Anonymous says:

    Kindly provide  line of code for live streaming in wphn ASAP

Skip to main content