Exemplo n.º 1
0
        public void Refresh(object sender = null, EventArgs e = null)
        {
            VideoSettings.RefreshVideoSources();

            VideoSettings.RefreshCodecs();

            AudioSettings.RefreshAudioSources();

            // Status
            Status.Content =
                $"{VideoSettings.AvailableCodecs.Count} Encoder(s) and {AudioSettings.AvailableAudioSources.Count - 1} AudioDevice(s) found";
        }
Exemplo n.º 2
0
        public void Refresh(object sender = null, EventArgs e = null)
        {
            VideoSettings.RefreshVideoSources();

            VideoSettings.RefreshCodecs();

            AudioSettings.RefreshAudioSources();

            // Status
            Status.Content = string.Format("{0} Encoder(s) and {1} AudioDevice(s) found",
                                           VideoSettings.AvailableCodecs.Count,
                                           AudioSettings.AvailableAudioSources.Count - 1);
        }