/// <summary>
        /// Initializes a new instance of the <see cref="MainWindow" /> class.
        /// </summary>
        public MainWindow()
        {
            InitializeComponent();

            // var streamURI = ipi.StreamUri; // new Uri(@"http://127.0.0.1:8072");
            var streamURI = new Uri(@"http://127.0.0.1:8072");

            var savedStreams = SavedUriHandler.Streams.ToList();

            var lss = new LivestreamerSettings() { StreamUri = savedStreams[0].StreamUri, StreamQuality = savedStreams[0].Quality };
            var lss2 = new LivestreamerSettings() { StreamUri = savedStreams[1].StreamUri, StreamQuality = savedStreams[1].Quality };

            launch = new LSLauncher(lss);
            launch.Launch();

            MediaPlayer player = new MediaPlayer();
            player.Open(streamURI);
            VideoDrawing vd = new VideoDrawing();
            vd.Rect = new Rect(0, 0, 1920, 1080);
            vd.Player = player;
            player.Play();
            videoImage.Drawing = vd;
            vd.Freeze();
            player.Freeze();
        }
 /// <summary>
 /// LSLauncher
 /// </summary>
 /// <param name="settings">settings</param>
 public LSLauncher(LivestreamerSettings settings)
 {
     streamerSettings = settings;
 }