mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 00:02:57 +02:00
Reduce log spam
This commit is contained in:
parent
16dd6a2ce1
commit
a880ca1262
1 changed files with 9 additions and 7 deletions
|
@ -34,7 +34,8 @@ Script.update.connect(function () {
|
|||
var avatars = AvatarList.getAvatarIdentifiers();
|
||||
avatars.forEach(function (id) {
|
||||
var avatar = AvatarList.getAvatar(id);
|
||||
if ((MyAvatar.sessionUUID !== avatar.sessionUUID) && (avatar.displayName.indexOf(MICROPHONE_DISPLAY_NAME) !== 0)) {
|
||||
if (MyAvatar.sessionUUID !== avatar.sessionUUID) {
|
||||
if (avatar.displayName.indexOf(MICROPHONE_DISPLAY_NAME) !== 0) {
|
||||
othersLoudness += Math.round(avatar.audioLoudness);
|
||||
}
|
||||
// Mute other microphone avatars to not feedback with muti-source environment
|
||||
|
@ -43,6 +44,7 @@ Script.update.connect(function () {
|
|||
Users.personalMute(avatar.sessionUUID, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
averageLoudness = AVERAGING_TIME * averageLoudness + (1.0 - AVERAGING_TIME) * othersLoudness;
|
||||
|
|
Loading…
Reference in a new issue