public void StopVideo() { Logs.Clear(); TraceLogs.Clear(); ResetChartViewModel(); IsPlayerEmbedded = false; SmoothStreamingSource = null; }
public void SetStreamingSource(string source) { Logs.Clear(); TraceLogs.Clear(); ResetChartViewModel(); SmoothStreamingSource = source; IsPlayerEmbedded = true; if (!SavedSources.Contains(source)) { SavedSources.Add(source); SavedSourcesDataClient.Save(SavedSources); } }