mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
set enableVideo to false if audio call #LINQT-2086
This commit is contained in:
parent
b3135ea177
commit
cb63b1a112
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ void CallModel::activateLocalVideo(std::shared_ptr<linphone::CallParams> ¶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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue