|
|
|
|
@ -155,6 +155,7 @@ private:
|
|
|
|
|
FCheckBox m_canInhibitEnabled{"Issue Inhibit", &m_configGroup};
|
|
|
|
|
FCheckBox m_callPriorityEnabled{"Call Priority", &m_configGroup};
|
|
|
|
|
FCheckBox m_telIntEnabled{"Interconnect", &m_configGroup};
|
|
|
|
|
FCheckBox m_allowU2UEnabled{"Allow U2U", &m_configGroup};
|
|
|
|
|
|
|
|
|
|
FButtonGroup m_jitterGroup{"Adaptive Jitter Buffer", this};
|
|
|
|
|
FCheckBox m_jitterEnabled{"Enabled", &m_jitterGroup};
|
|
|
|
|
@ -169,7 +170,7 @@ private:
|
|
|
|
|
void initLayout() override
|
|
|
|
|
{
|
|
|
|
|
FDialog::setText("Peer ID");
|
|
|
|
|
FDialog::setSize(FSize{65, 18});
|
|
|
|
|
FDialog::setSize(FSize{65, 19});
|
|
|
|
|
|
|
|
|
|
m_enableSetButton = false;
|
|
|
|
|
CloseWndBase::initLayout();
|
|
|
|
|
@ -272,7 +273,7 @@ private:
|
|
|
|
|
|
|
|
|
|
// configuration
|
|
|
|
|
{
|
|
|
|
|
m_configGroup.setGeometry(FPoint(39, 5), FSize(23, 7));
|
|
|
|
|
m_configGroup.setGeometry(FPoint(39, 5), FSize(23, 8));
|
|
|
|
|
|
|
|
|
|
m_peerReplicaEnabled.setGeometry(FPoint(2, 1), FSize(10, 1));
|
|
|
|
|
m_peerReplicaEnabled.setChecked(m_rule.peerReplica());
|
|
|
|
|
@ -303,6 +304,12 @@ private:
|
|
|
|
|
m_telIntEnabled.addCallback("toggled", [&]() {
|
|
|
|
|
m_rule.telephoneInterconnect(m_telIntEnabled.isChecked());
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
m_allowU2UEnabled.setGeometry(FPoint(2, 6), FSize(10, 1));
|
|
|
|
|
m_allowU2UEnabled.setChecked(m_rule.allowUnitToUnit());
|
|
|
|
|
m_allowU2UEnabled.addCallback("toggled", [&]() {
|
|
|
|
|
m_rule.allowUnitToUnit(m_allowU2UEnabled.isChecked());
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// jitter buffer
|
|
|
|
|
@ -392,9 +399,10 @@ private:
|
|
|
|
|
bool canIssueInhibit = m_rule.canIssueInhibit();
|
|
|
|
|
bool hasCallPriority = m_rule.hasCallPriority();
|
|
|
|
|
bool telephoneInterconnect = m_rule.telephoneInterconnect();
|
|
|
|
|
bool allowUnitToUnit = m_rule.allowUnitToUnit();
|
|
|
|
|
bool jitterBufferEnabled = m_rule.jitterBufferEnabled();
|
|
|
|
|
|
|
|
|
|
::LogInfoEx(LOG_HOST, "Peer ALIAS: %s PEERID: %u REPLICA: %u CAN REQUEST KEYS: %u CAN ISSUE INHIBIT: %u HAS CALL PRIORITY: %u TELEPHONE INTERCONNECT: %u JITTER BUFFER ENABLED: %u", peerAlias.c_str(), peerId, peerReplica, canRequestKeys, canIssueInhibit, hasCallPriority, telephoneInterconnect, jitterBufferEnabled);
|
|
|
|
|
::LogInfoEx(LOG_HOST, "Peer ALIAS: %s PEERID: %u REPLICA: %u CAN REQUEST KEYS: %u CAN ISSUE INHIBIT: %u HAS CALL PRIORITY: %u TELEPHONE INTERCONNECT: %u ALLOW UNIT-TO-UNIT: %u JITTER BUFFER ENABLED: %u", peerAlias.c_str(), peerId, peerReplica, canRequestKeys, canIssueInhibit, hasCallPriority, telephoneInterconnect, allowUnitToUnit, jitterBufferEnabled);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@ -466,6 +474,7 @@ private:
|
|
|
|
|
entry.canIssueInhibit(m_rule.canIssueInhibit());
|
|
|
|
|
entry.hasCallPriority(m_rule.hasCallPriority());
|
|
|
|
|
entry.telephoneInterconnect(m_rule.telephoneInterconnect());
|
|
|
|
|
entry.allowUnitToUnit(m_rule.allowUnitToUnit());
|
|
|
|
|
|
|
|
|
|
entry.jitterBufferEnabled(m_rule.jitterBufferEnabled());
|
|
|
|
|
entry.jitterBufferMaxSize(m_rule.jitterBufferMaxSize());
|
|
|
|
|
@ -508,6 +517,7 @@ private:
|
|
|
|
|
entry.canIssueInhibit(m_rule.canIssueInhibit());
|
|
|
|
|
entry.hasCallPriority(m_rule.hasCallPriority());
|
|
|
|
|
entry.telephoneInterconnect(m_rule.telephoneInterconnect());
|
|
|
|
|
entry.allowUnitToUnit(m_rule.allowUnitToUnit());
|
|
|
|
|
|
|
|
|
|
entry.jitterBufferEnabled(m_rule.jitterBufferEnabled());
|
|
|
|
|
entry.jitterBufferMaxSize(m_rule.jitterBufferMaxSize());
|
|
|
|
|
@ -532,4 +542,4 @@ private:
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // __PEER_EDIT_WND_H__
|
|
|
|
|
#endif // __PEER_EDIT_WND_H__
|
|
|
|
|
|