FS-9508 [verto_communicator] Adding AGC option on settings, enabled by default

This commit is contained in:
Italo Rossi 2016-09-23 11:08:04 -03:00 committed by Anthony Minessale
parent a328210b25
commit 575c98552d
5 changed files with 16 additions and 5 deletions

View File

@ -150,5 +150,6 @@
"CHAT_GAIN_PLUS": "Gain +",
"LANGUAGE": "Language:",
"BROWSER_LANGUAGE": "Browser Language",
"FACTORY_RESET_SETTINGS": "Factory Reset Settings"
"FACTORY_RESET_SETTINGS": "Factory Reset Settings",
"AUTOGAIN_CONTROL": "Auto Gain Control"
}

View File

@ -148,5 +148,6 @@
"CHAT_VOL_PLUS": "Vol +",
"CHAT_GAIN_MINUS": "Ganho -",
"CHAT_GAIN_PLUS": "Ganho +",
"FACTORY_RESET_SETTINGS": "Redefinir configurações"
"FACTORY_RESET_SETTINGS": "Redefinir configurações",
"AUTOGAIN_CONTROL": "Controle de Ganho Automático (AGC)"
}

View File

@ -107,6 +107,12 @@
<span ng-bind="'HIGHPASS_FILTER' | translate"></span>
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="googAutoGainControl" value="mydata.googAutoGainControl" ng-model="mydata.googAutoGainControl">
<span ng-bind="'AUTOGAIN_CONTROL' | translate"></span>
</label>
</div>
</div>
</div>
</div>

View File

@ -38,6 +38,7 @@
googNoiseSuppression: true,
googHighpassFilter: true,
googEchoCancellation: true,
googAutoGainControl: true,
autoBand: true,
testSpeedJoin: true,
bestFrameRate: "15",

View File

@ -711,9 +711,11 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
ringFile: "sounds/bell_ring2.wav",
// TODO: Add options for this.
audioParams: {
googEchoCancellation: storage.data.googEchoCancellation || true,
googNoiseSuppression: storage.data.googNoiseSuppression || true,
googHighpassFilter: storage.data.googHighpassFilter || true
googEchoCancellation: storage.data.googEchoCancellation === undefined ? true : storage.data.googEchoCancellation,
googNoiseSuppression: storage.data.googNoiseSuppression === undefined ? true : storage.data.googNoiseSuppression,
googHighpassFilter: storage.data.googHighpassFilter === undefined ? true : storage.data.googHighpassFilter,
googAutoGainControl: storage.data.googAutoGainControl === undefined ? true : storage.data.googAutoGainControl,
googAutoGainControl2: storage.data.googAutoGainControl === undefined ? true : storage.data.googAutoGainControl
},
sessid: sessid,
iceServers: storage.data.useSTUN