Force preview deactivation before starting core. Preview was enabled on [video] show_local configuration that could be set to on after exiting the app while in settings (where the preview is on)

This commit is contained in:
Julien Wadel 2020-11-12 12:15:58 +01:00
parent d35947661e
commit 89f9edbd1c

View file

@ -266,6 +266,7 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
mCore->addListener(mHandlers);
mCore->setVideoDisplayFilter("MSOGL");
mCore->usePreviewWindow(true);
mCore->enableVideoPreview(false);
mCore->setUserAgent(
Utils::appStringToCoreString(
QStringLiteral(APPLICATION_NAME" Desktop/%1 (%2, Qt %3) LinphoneCore")