Search code examples
c#aacwindows-10http-live-streamingwindows-10-mobile

HLS player for Windows 10


I'm developing a video player for Windows 10. This player has to reproduce an HLS and an AAC track simultaneosly.

I wanted to use the AdaptiveMediaSource class for the video track as it supports HLS. For the audio track, I was considering to use the AudioStreamingAgent class, but for this case I'm not sure if it will be the most suitable option.

Apart from this, these two tracks must be independent. I mean, though they have to be synchronized, the user has to be able to adjust their volumes separately, even to mute them, but I haven't found any control not even for stopping or resuming the playback (which I assume should be a basic control for audio/video players).

I have found the MediaElement class, which represents audio and video objects so, using this class would resolve the missing-controls issue but I'm not sure its capability through streaming reproduction.

Another thing that I'm wondering about is if that kind of objects, apart from the first one, are supported from Windows 7 to 8.1, will they also be in this version?

Which is the proper way to develop it?

Thanks in advance!!


Solution

  • Finally, I'm implementing the player using two MediaElements, in the same way that Javier Suarez's blog entry explains.