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 2511ad50e1
commit fa7cb3d546
5 changed files with 16 additions and 5 deletions

View File

@ -150,5 +150,6 @@
"CHAT_GAIN_PLUS": "Gain +", "CHAT_GAIN_PLUS": "Gain +",
"LANGUAGE": "Language:", "LANGUAGE": "Language:",
"BROWSER_LANGUAGE": "Browser 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_VOL_PLUS": "Vol +",
"CHAT_GAIN_MINUS": "Ganho -", "CHAT_GAIN_MINUS": "Ganho -",
"CHAT_GAIN_PLUS": "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> <span ng-bind="'HIGHPASS_FILTER' | translate"></span>
</label> </label>
</div> </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> </div>
</div> </div>

View File

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

View File

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