コード例 #1
0
ファイル: Endpoint.cs プロジェクト: KhaledSMQ/SipServer
        public void InvokeTuningWizard(int hwndParent, bool showAudio, bool showAudioNonPrivate, bool showAudioNotification, bool showWebCam)
        {
            IUccMediaDeviceSettings mediaDeviceSettings = this.platform as IUccMediaDeviceSettings;

            UCC_TUNING_WIZARD_PAGE pages = 0;

            if (showAudio)
            {
                pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_AUDIO;
            }
            if (showAudioNonPrivate)
            {
                pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_AUDIO_NONPRIVATE;
            }
            if (showAudioNotification)
            {
                pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_AUDIO_NOTIFICATION;
            }
            if (showWebCam)
            {
                pages |= UCC_TUNING_WIZARD_PAGE.UCCTWP_WEBCAM;
            }

            mediaDeviceSettings.InvokeTuningWizard(hwndParent, (int)pages);
        }
コード例 #2
0
ファイル: Endpoint.cs プロジェクト: KhaledSMQ/SipServer
        public void ResetDeviceSettings()
        {
            IUccMediaDeviceSettings mediaDeviceSettings = this.platform as IUccMediaDeviceSettings;

            mediaDeviceSettings.ResetDeviceSettings();
        }