コード例 #1
0
        private void ZoomServiceOnInitializedChanged(object sender, bool initialized)
        {
            if (initialized)
            {
                VideoDevices = _zoomService.EnumerateVideoDevices()?.ToList();
                if (VideoDevices != null && VideoDevices.Count > 0)
                {
                    SelectedVideoDevice = VideoDevices.First();
                }

                MicDevices = _zoomService.EnumerateMicDevices()?.ToList();
                if (MicDevices != null && MicDevices.Count > 0)
                {
                    SelectedMicDevice = MicDevices.First();
                }

                SpeakerDevices = _zoomService.EnumerateSpeakerDevices()?.ToList();
                if (SpeakerDevices != null && SpeakerDevices.Count > 0)
                {
                    SelectedSpeakerDevice = SpeakerDevices.First();
                }
            }
        }