SilverLive

SilverLive is supplied as a Silverlight Class Library, SilverLiveStreamSource.dll. This assembly contains a single class; SilverLiveStreamSource.

This class inherits from the native Microsoft MediaStreamSource class, which means it's easy to get it up and running:
  • Drop a new MediaElement onto your XAML page.
  • Create and initialise the SilverLiveStreamSource object.
  • Set the MediaElement's Source property.
SilverLive comes with full sample C# NET code demonstrating real-world use. The following extract illustrates the process:
void StartStream()
{
mySource = new SiverLiveStreamSource("http://www.server.com//index.m3u8");
mySource.InitAsyncCompleted += new EventHandler<InitAsyncCompletedEventArgs>(mySource_InitAsyncCompleted);
mySource.InitAsync();
}

void mySource_InitAsyncCompleted(object sender, InitAsyncCompletedEventArgs e)
{
mediaElement1.MediaOpened += new RoutedEventHandler(mediaElement1_MediaOpened);
mediaElement1.SetSource(mySource);
}
Amazon DVDs