private void UpdateConfigServiceFromACEConfig(ACEConfig config) { if (config != null) { ServiceManager.Instance.ConfigurationService.Set(Configuration.ConfSection.GENERAL, Configuration.ConfEntry.USE_RTT, config.enable_rtt); } }
public VATRPAccount() { configuration = new ACEConfig(); // cjm-sep17 AccountID = Guid.NewGuid().ToString(); HostPort = Configuration.LINPHONE_SIP_PORT; ProxyHostname = Configuration.LINPHONE_SIP_SERVER; OutboundProxy = ""; Transport = "TCP"; MediaEncryption = "Unencrypted"; EnableAVPF = false; PreferredVideoId = "cif"; STUNPort = 3478; DefaultSTUNPort = 3478; //STUNAddress = $"stun.server.com:{DefaultSTUNPort}"; STUNAddress = string.Empty; AuthID = string.Empty; Username = string.Empty; Password = string.Empty; Provider = string.Empty; RegistrationUser = string.Empty; RegistrationPassword = string.Empty; DisplayName = string.Empty; VideoAutomaticallyStart = true; VideoAutomaticallyAccept = true; AudioAutomaticallyStart = true; EnableVideo = true; ShowSelfView = true; PreferredVideoId = string.Empty; VideoPreset = null; MuteMicrophone = false; MuteSpeaker = false; EnableTechCallLog = true; //cjm-aug17 EnableProviderPingLog = true; //cjm-aug17 EchoCancel = true; UseOutboundProxy = true; // CHANGED ON DATED 09-12-2016 BY MK VideoPreset = "high-fps"; SelectedCameraId = string.Empty; SelectedMicrophoneId = string.Empty; SelectedSpeakerId = string.Empty; UserNeedsAgentView = false; VideoMailCount = 0; PreferredFPS = 30; EnableAdaptiveRate = true; UploadBandwidth = 1500; DownloadBandwidth = 1500; EnableQualityOfService = true; AdaptiveRateAlgorithm = "Simple"; SipDscpValue = 24; AudioDscpValue = 46; VideoDscpValue = 46; EnableIPv6 = false; Logging = "Info"; RTTFontFamily = "Segoe UI"; CardDavServerPath = string.Empty; CardDavRealm = string.Empty; ContactsURI = string.Empty; CDN = string.Empty; GeolocationURI = string.Empty; SendLocationWithRegistration = false; DisableAudioCodecs = false; EnableSTUN = true; EnableICE = false; EnablePrivacy = false; DisableUserPhoneTag = false; }