From cb63b1a112d19591bbac9826db38ef9d7edd918d Mon Sep 17 00:00:00 2001 From: gaelle Date: Mon, 27 Oct 2025 18:20:32 +0100 Subject: [PATCH] set enableVideo to false if audio call #LINQT-2086 --- Linphone/model/call/CallModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/model/call/CallModel.cpp b/Linphone/model/call/CallModel.cpp index a753b377e..41b9f3474 100644 --- a/Linphone/model/call/CallModel.cpp +++ b/Linphone/model/call/CallModel.cpp @@ -132,7 +132,7 @@ void CallModel::activateLocalVideo(std::shared_ptr ¶ms lInfo() << sLog() .arg("Updating call with video enabled and media direction set to %1") .arg((int)params->getVideoDirection()); - params->enableVideo(SettingsModel::getInstance()->getVideoEnabled()); + params->enableVideo(enable); auto videoDirection = enable ? linphone::MediaDirection::SendRecv : linphone::MediaDirection::RecvOnly; params->setVideoDirection(videoDirection); }