FS-8010 Add hardcoded params
FS-8010 Make audio settings configurable as well. UI must be reviewed because it now scrolls on modal appearance.
This commit is contained in:
parent
077d89c28f
commit
77a604f17f
|
@ -35,7 +35,10 @@ storageService.service('storage', ['$rootScope', '$localStorage',
|
|||
outgoingBandwidth: '',
|
||||
incomingBandwidth: '',
|
||||
vidQual: '',
|
||||
askRecoverCall: true
|
||||
askRecoverCall: false,
|
||||
googNoiseSuppression: false,
|
||||
googHighpassFilter: false,
|
||||
googEchoCancellation: false
|
||||
});
|
||||
|
||||
function changeData(verto_data) {
|
||||
|
|
|
@ -89,8 +89,8 @@ var bandwidth = [{
|
|||
|
||||
var vertoService = angular.module('vertoService', ['ngCookies']);
|
||||
|
||||
vertoService.service('verto', ['$rootScope', '$cookieStore', '$location',
|
||||
function($rootScope, $cookieStore, $location) {
|
||||
vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'storage',
|
||||
function($rootScope, $cookieStore, $location, storage) {
|
||||
var data = {
|
||||
// Connection data.
|
||||
instance: null,
|
||||
|
@ -554,9 +554,9 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location',
|
|||
videoParams: getVideoParams(),
|
||||
// TODO: Add options for this.
|
||||
audioParams: {
|
||||
googAutoGainControl: false,
|
||||
googNoiseSuppression: false,
|
||||
googHighpassFilter: false
|
||||
googEchoCancellation: storage.data.googEchoCancellation || false,
|
||||
googNoiseSuppression: storage.data.googNoiseSuppression || false,
|
||||
googHighpassFilter: storage.data.googHighpassFilter || false
|
||||
},
|
||||
iceServers: data.useSTUN
|
||||
}, callbacks);
|
||||
|
|
Loading…
Reference in New Issue