If you have ever tried to play with HLS (HTTP Live Streaming) with Windows Phone 8, you probably used the Player Framework with a MediaStreamSource (like Windows Phone Streaming Media).
With the new Windows 10 APIs, all that stuff become useless ! The MediaElement control of Universal Windows Platform app can handle that natively :) HLS or DASH (Dynamic Adaptive Streaming over HTTP) it’s up to you and it is very easy to use :
MediaElement mediaElement = new MediaElement(); // The source is an uri like : // http://mydomain.com/toto/playlist.m3u8 var result = await AdaptiveMediaSource.CreateFromUriAsync(source); if (result.Status == AdaptiveMediaSourceCreationStatus.Success) { var astream = result.MediaSource; mediaElement.SetMediaStreamSource(astream); }
Have fun :D