Force ZRTP to Call conferences.

More shadow on stickers.
This commit is contained in:
Julien Wadel 2024-10-02 13:50:16 +02:00
parent d8f75c3994
commit 499aa5fb53
2 changed files with 7 additions and 2 deletions

View file

@ -120,6 +120,7 @@ bool ToolModel::createCall(const QString &sipAddress,
bool localVideoEnabled = options.contains("localVideoEnabled") ? options["localVideoEnabled"].toBool() : false;
std::shared_ptr<linphone::Address> address = interpretUrl(sipAddress);
if (!address) {
lCritical() << "[" + QString(gClassName) + "] The calling address is not an interpretable SIP address: "
<< sipAddress;
@ -128,6 +129,8 @@ bool ToolModel::createCall(const QString &sipAddress,
}
return false;
}
bool isConference = !!core->findConferenceInformationFromUri(address);
if (isConference) mediaEncryption = linphone::MediaEncryption::ZRTP;
if (SettingsModel::dndEnabled(
core->getConfig())) { // Force tones for outgoing calls when in DND mode (ringback, dtmf, etc ... ) disabled

View file

@ -45,6 +45,7 @@ Item {
property string qmlName
property bool displayAll : !!mainItem.call
property bool mutedStatus: participantDevice ? participantDevice.core.isMuted : false
clip: false
onCallChanged: {
waitingTime.seconds = 0
waitingTimer.restart()
@ -276,8 +277,9 @@ Item {
anchors.fill: background
shadowEnabled: true
shadowColor: DefaultStyle.grey_1000
shadowBlur: 0.1
shadowOpacity: 0.4
shadowBlur: 1
shadowOpacity: 0.3
shadowScale: 1.05
}
RowLayout{
anchors.right: parent.right