Commit e4099ad4 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Small fix for BackgroundManager

parent 15f7ae36
......@@ -62,7 +62,8 @@ namespace Linphone.Agents
{
// Initiate incoming call processing by creating the Linphone Core
LpConfig config = OopServer.LinphoneCoreFactory.CreateLpConfig(ApplicationData.Current.LocalFolder.Path + "\\linphonerc", "Assets/linphonerc-factory");
OopServer.LinphoneCoreFactory.CreateLinphoneCore(null, config);
OopServer.LinphoneCoreFactory.CreateLinphoneCore(null, config);
server.LinphoneCore.SetRootCA("Assets/rootca.pem");
//Globals.Instance.BackgroundModeLogger.Configure(true, OutputTraceDest.TCPRemote, "192.168.0.217:38954");
//Globals.Instance.LinphoneCoreFactory.OutputTraceListener = Globals.Instance.BackgroundModeLogger;
......
......@@ -264,6 +264,7 @@ namespace Linphone.Model
ConfigureLogger();
server.LinphoneCore.SetRootCA("Assets/rootca.pem");
Logger.Msg("[LinphoneManager] LinphoneCore created");
AudioRoutingManager.GetDefault().AudioEndpointChanged += AudioEndpointChanged;
CallController.MuteRequested += MuteRequested;
CallController.UnmuteRequested += UnmuteRequested;
......
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