Commit 82289b2d authored by Ghislain MARY's avatar Ghislain MARY

Create and start linphone core separately.

parent 2daa0ef5
...@@ -215,7 +215,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) { ...@@ -215,7 +215,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
setResourcesPaths(); setResourcesPaths();
mCore = linphone::Factory::get()->createCore(mHandlers, Paths::getConfigFilePath(configPath), Paths::getFactoryConfigFilePath()); mCore = linphone::Factory::get()->createCore(Paths::getConfigFilePath(configPath), Paths::getFactoryConfigFilePath(), nullptr);
mCore->addListener(mHandlers);
mCore->setVideoDisplayFilter("MSOGL"); mCore->setVideoDisplayFilter("MSOGL");
mCore->usePreviewWindow(true); mCore->usePreviewWindow(true);
...@@ -230,6 +231,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) { ...@@ -230,6 +231,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
config->setInt("video", "display", 1); config->setInt("video", "display", 1);
} }
mCore->start();
setDatabasesPaths(); setDatabasesPaths();
setOtherPaths(); setOtherPaths();
} }
......
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