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); }