mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
On audio call, do not activate video.
This commit is contained in:
parent
b46c4d16f2
commit
11a8106327
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ bool ToolModel::createCall(const QString &sipAddress,
|
|||
SettingsModel::enableTones(core->getConfig(), true);
|
||||
}
|
||||
std::shared_ptr<linphone::CallParams> params = core->createCallParams(nullptr);
|
||||
CallModel::activateLocalVideo(params, localVideoEnabled);
|
||||
if (localVideoEnabled) CallModel::activateLocalVideo(params, localVideoEnabled);
|
||||
|
||||
bool micEnabled = options.contains("microEnabled") ? options["microEnabled"].toBool() : true;
|
||||
params->enableMic(micEnabled);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue