Beispiel #1
0
 private void OnPlayButtonClick(object sender, RoutedEventArgs e)
 {
     try
     {
         ROVStream.Play();
         //myControl.MediaPlayer.Play(new Uri("rtsp://169.254.250.128:8554/"));
     }
     catch (Exception ex)
     {
         MessageBoxResult result = MessageBox.Show(ex.Message, "Error", MessageBoxButton.OKCancel, MessageBoxImage.Exclamation);
     }
 }
Beispiel #2
0
 private void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     ROVStream.Stop();
 }