mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
make default avatar mixer send bandwidth 5mbps
This commit is contained in:
parent
e3bc49c302
commit
92632e72b6
2 changed files with 3 additions and 3 deletions
|
@ -593,7 +593,7 @@ void AvatarMixer::parseDomainServerSettings(const QJsonObject& domainSettings) {
|
||||||
const QString AVATAR_MIXER_SETTINGS_KEY = "avatar_mixer";
|
const QString AVATAR_MIXER_SETTINGS_KEY = "avatar_mixer";
|
||||||
const QString NODE_SEND_BANDWIDTH_KEY = "max_node_send_bandwidth";
|
const QString NODE_SEND_BANDWIDTH_KEY = "max_node_send_bandwidth";
|
||||||
|
|
||||||
const float DEFAULT_NODE_SEND_BANDWIDTH = 1.0f;
|
const float DEFAULT_NODE_SEND_BANDWIDTH = 5.0f;
|
||||||
QJsonValue nodeBandwidthValue = domainSettings[AVATAR_MIXER_SETTINGS_KEY].toObject()[NODE_SEND_BANDWIDTH_KEY];
|
QJsonValue nodeBandwidthValue = domainSettings[AVATAR_MIXER_SETTINGS_KEY].toObject()[NODE_SEND_BANDWIDTH_KEY];
|
||||||
if (!nodeBandwidthValue.isDouble()) {
|
if (!nodeBandwidthValue.isDouble()) {
|
||||||
qDebug() << NODE_SEND_BANDWIDTH_KEY << "is not a double - will continue with default value";
|
qDebug() << NODE_SEND_BANDWIDTH_KEY << "is not a double - will continue with default value";
|
||||||
|
|
|
@ -1398,8 +1398,8 @@
|
||||||
"type": "double",
|
"type": "double",
|
||||||
"label": "Per-Node Bandwidth",
|
"label": "Per-Node Bandwidth",
|
||||||
"help": "Desired maximum send bandwidth (in Megabits per second) to each node",
|
"help": "Desired maximum send bandwidth (in Megabits per second) to each node",
|
||||||
"placeholder": 1.0,
|
"placeholder": 5.0,
|
||||||
"default": 1.0,
|
"default": 5.0,
|
||||||
"advanced": true
|
"advanced": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue