• Welcome to the all-new Windows Central Forums! - We're still moving some things around, so you may see a few quirks here and there, but we're working on getting things fully completed as soon as possible. For now, take a look around, and if you run into any major issues, please let us know in this thread!

SmoothStreamingMediaElement (.m3u8 ) in Windows phone

RehamH

New member
Nov 29, 2012
1
0
0
I want my application to play (.m3u8) Live Streaming , i found this example IIS Smooth Streaming Client 1.1 RTW - Silverlight 4 Code Samples - Release: Smooth Streaming Client 1.1 RTW - Code Samples

It works with other links but if i try my .m3u8 link it does not work. Is there a specific way to play that type of streaming in windows phone?


public MainPage()
{

InitializeComponent();
SupportedOrientations = SupportedPageOrientation.Landscape;
Loaded += new RoutedEventHandler(MainPage_Loaded);
phoneApplicationPage.ManipulationStarted += new EventHandler<ManipulationStartedEventArgs>(phoneApplicationPage_ManipulationStarted);
phoneApplicationPage.ManipulationCompleted += new EventHandler<ManipulationCompletedEventArgs>(phoneApplicationPage_ManipulationCompleted);
seekbar.MouseLeftButtonUp += new MouseButtonEventHandler(seekbar_MouseLeftButtonUp);

List<Content> Contents = new List<Content>();
Contents.Add(new Content("Media One", new Uri("http://fl1.viastreaming.net/iqraatv2/livestream/playlist.m3u8")));
Contents.Add(new Content("Media Two", new Uri("http://Media_Two.ism/manifest")));
Contents.Add(new Content("Media Three", new Uri("http://Media_Three.ism/manifest")));
Contents.Add(new Content("Media Four", new Uri("http://Media_Four.ism/manifest")));

comboBoxUrls.ItemsSource = Contents;
comboBoxUrls.SelectedIndex = 0;
comboBoxUrls.SelectionChanged += new SelectionChangedEventHandler(comboBoxUrls_SelectionChanged);
}
 

KarateDad

New member
Dec 14, 2011
82
0
0
This is kind of off topic, but windows phone doesn't natively support m3u8's. m3u8 is the apple adaptive live format. Smooth stream uses its' own format, .ism or .isml files that are similar (in concept) to the way m3u8's work, but actually totally different. So, as far as I know, there is no way to play an m3u8 on a windows phone. I don't have the time to go through all the samples to see what exactly you are referring to. I do know Microsoft has a tool that let's you take a smooth stream video, and play it on an iOS device, it basically translates the smooth stream to m3u8 on the fly, but doesn't go the other direction.
 

Joshua Jackson

New member
Nov 20, 2012
585
0
0

Forum statistics

Threads
316,273
Messages
2,233,571
Members
427,374
Latest member
dahoy