diff --git a/html5/verto/verto_communicator/src/locales/locale-en.json b/html5/verto/verto_communicator/src/locales/locale-en.json index ade59cc7d4..e7eddbe652 100644 --- a/html5/verto/verto_communicator/src/locales/locale-en.json +++ b/html5/verto/verto_communicator/src/locales/locale-en.json @@ -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" } diff --git a/html5/verto/verto_communicator/src/locales/locale-pt.json b/html5/verto/verto_communicator/src/locales/locale-pt.json index 19f04512ba..c1d8cee9cc 100644 --- a/html5/verto/verto_communicator/src/locales/locale-pt.json +++ b/html5/verto/verto_communicator/src/locales/locale-pt.json @@ -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)" } diff --git a/html5/verto/verto_communicator/src/partials/settings.html b/html5/verto/verto_communicator/src/partials/settings.html index 7e15a24e3b..92e7cfc1f7 100644 --- a/html5/verto/verto_communicator/src/partials/settings.html +++ b/html5/verto/verto_communicator/src/partials/settings.html @@ -107,6 +107,12 @@ +
+ +
diff --git a/html5/verto/verto_communicator/src/storageService/services/storage.js b/html5/verto/verto_communicator/src/storageService/services/storage.js index 8aff5ee61a..1cad676a02 100644 --- a/html5/verto/verto_communicator/src/storageService/services/storage.js +++ b/html5/verto/verto_communicator/src/storageService/services/storage.js @@ -38,6 +38,7 @@ googNoiseSuppression: true, googHighpassFilter: true, googEchoCancellation: true, + googAutoGainControl: true, autoBand: true, testSpeedJoin: true, bestFrameRate: "15", diff --git a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js index 404c0c4a9f..788653f2a4 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js @@ -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