@Mahesh Vemuri asked that if he has a bug that says StreamingMediaPlugin is not available or not found in the namespace, here is my work: XAML:
xmlns:PlayerFramework="using:Microsoft.PlayerFramework" <PlayerFramework:MediaPlayer Name="player" Source="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8" AudioCategory="BackgroundCapableMedia" IsAudioSelectionVisible="True"> <PlayerFramework:MediaPlayer.Plugins> </PlayerFramework:MediaPlayer.Plugins> </PlayerFramework:MediaPlayer>
And in your .xaml.cs file you just do this:
SM.Media.MediaPlayer.StreamingMediaPlugin asd = new SM.Media.MediaPlayer.StreamingMediaPlugin(); player.Plugins.Add(asd); player.Source = new Uri("address-to-m3u8");
This worked for me, as the "default" did not. Hope this helps someone else too.
Marcin
source share