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 e79ced8366
commit 619d3e62ff

View file

@ -263,6 +263,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")