mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
Create and start linphone core separately.
This commit is contained in:
parent
2daa0ef545
commit
82289b2d1e
1 changed files with 4 additions and 1 deletions
|
|
@ -215,7 +215,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
|
|||
|
||||
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->usePreviewWindow(true);
|
||||
|
|
@ -230,6 +231,8 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
|
|||
config->setInt("video", "display", 1);
|
||||
}
|
||||
|
||||
mCore->start();
|
||||
|
||||
setDatabasesPaths();
|
||||
setOtherPaths();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue