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);
|
SettingsModel::enableTones(core->getConfig(), true);
|
||||||
}
|
}
|
||||||
std::shared_ptr<linphone::CallParams> params = core->createCallParams(nullptr);
|
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;
|
bool micEnabled = options.contains("microEnabled") ? options["microEnabled"].toBool() : true;
|
||||||
params->enableMic(micEnabled);
|
params->enableMic(micEnabled);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue