Force ZRTP to Call conferences.
More shadow on stickers.
This commit is contained in:
parent
d8f75c3994
commit
499aa5fb53
2 changed files with 7 additions and 2 deletions
|
|
@ -120,6 +120,7 @@ bool ToolModel::createCall(const QString &sipAddress,
|
||||||
bool localVideoEnabled = options.contains("localVideoEnabled") ? options["localVideoEnabled"].toBool() : false;
|
bool localVideoEnabled = options.contains("localVideoEnabled") ? options["localVideoEnabled"].toBool() : false;
|
||||||
|
|
||||||
std::shared_ptr<linphone::Address> address = interpretUrl(sipAddress);
|
std::shared_ptr<linphone::Address> address = interpretUrl(sipAddress);
|
||||||
|
|
||||||
if (!address) {
|
if (!address) {
|
||||||
lCritical() << "[" + QString(gClassName) + "] The calling address is not an interpretable SIP address: "
|
lCritical() << "[" + QString(gClassName) + "] The calling address is not an interpretable SIP address: "
|
||||||
<< sipAddress;
|
<< sipAddress;
|
||||||
|
|
@ -128,6 +129,8 @@ bool ToolModel::createCall(const QString &sipAddress,
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
bool isConference = !!core->findConferenceInformationFromUri(address);
|
||||||
|
if (isConference) mediaEncryption = linphone::MediaEncryption::ZRTP;
|
||||||
|
|
||||||
if (SettingsModel::dndEnabled(
|
if (SettingsModel::dndEnabled(
|
||||||
core->getConfig())) { // Force tones for outgoing calls when in DND mode (ringback, dtmf, etc ... ) disabled
|
core->getConfig())) { // Force tones for outgoing calls when in DND mode (ringback, dtmf, etc ... ) disabled
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ Item {
|
||||||
property string qmlName
|
property string qmlName
|
||||||
property bool displayAll : !!mainItem.call
|
property bool displayAll : !!mainItem.call
|
||||||
property bool mutedStatus: participantDevice ? participantDevice.core.isMuted : false
|
property bool mutedStatus: participantDevice ? participantDevice.core.isMuted : false
|
||||||
|
clip: false
|
||||||
onCallChanged: {
|
onCallChanged: {
|
||||||
waitingTime.seconds = 0
|
waitingTime.seconds = 0
|
||||||
waitingTimer.restart()
|
waitingTimer.restart()
|
||||||
|
|
@ -276,8 +277,9 @@ Item {
|
||||||
anchors.fill: background
|
anchors.fill: background
|
||||||
shadowEnabled: true
|
shadowEnabled: true
|
||||||
shadowColor: DefaultStyle.grey_1000
|
shadowColor: DefaultStyle.grey_1000
|
||||||
shadowBlur: 0.1
|
shadowBlur: 1
|
||||||
shadowOpacity: 0.4
|
shadowOpacity: 0.3
|
||||||
|
shadowScale: 1.05
|
||||||
}
|
}
|
||||||
RowLayout{
|
RowLayout{
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue