Commit 50fb8b57 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Fix DTLS path

parent 36e682bf
......@@ -379,7 +379,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="LinphoneSDK">
<Version>3.12.0.86</Version>
<Version>3.12.0.87</Version>
</PackageReference>
<PackageReference Include="Microsoft.ApplicationInsights">
<Version>2.0.1</Version>
......@@ -419,4 +419,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
\ No newline at end of file
......@@ -130,9 +130,14 @@ namespace Linphone.Model {
return Path.Combine(Windows.ApplicationModel.Package.Current.InstalledLocation.Path, "Assets", "rootca.pem");
}
public String GetCertificatesPath() {
return ApplicationData.Current.LocalFolder.Path;
}
public void InitLinphoneCore() {
LinphoneManager.Instance.Core.ChatDatabasePath = GetChatDatabasePath();
LinphoneManager.Instance.Core.RootCa = GetRootCaPath();
LinphoneManager.Instance.Core.UserCertificatesPath = GetCertificatesPath();
if (ApiInformation.IsApiContractPresent("Windows.Phone.PhoneContract", 1)) {
AudioRoutingManager.GetDefault().AudioEndpointChanged += AudioEndpointChanged;
......
......@@ -162,8 +162,8 @@ namespace Linphone.Model {
if (ValueChanged(LogLevelKeyName)) {
try {
Config.SetInt(ApplicationSection, LogLevelKeyName, (int)LogLevel);
LinphoneManager.Instance.EnableLogCollection((LogLevelSetting == LogCollectionState.Enabled) ? true: false);
Linphone.Core.EnableLogCollection(LogLevelSetting);
//LinphoneManager.Instance.EnableLogCollection((LogLevelSetting == LogCollectionState.Enabled) ? true: false);
//Linphone.Core.EnableLogCollection(LogLevelSetting);
Linphone.Core.SetLogLevelMask((LogLevelSetting == LogCollectionState.Enabled) ? (uint)0xFF: 0x0);
//LinphoneManager.Instance.ConfigureLog(LogLevel);
} catch {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment