Microsoft Gulf Technical Community

The communication portal for the Gulf technical audience

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

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

Rate This
  • Comments 10

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. 

image

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.

image

 

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

image

 

 

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

  • Hi,

    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

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

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

  • 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?

  • 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):

    openvideoplayer.sourceforge.net/.../akamai_multi_player

    ????

  • @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.

  • 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..?

  • 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

  • @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 (phonesm.codeplex.com/discussions).

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

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

Page 1 of 1 (10 items)
Leave a Comment
  • Please add 5 and 8 and type the answer here:
  • Post