FS-8010 Add hardcoded params

This commit is contained in:
Joao Mesquita 2015-08-20 20:53:26 -03:00
parent 66da0fa8da
commit 3717e945e3

View File

@ -188,7 +188,10 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location',
minWidth: videoResolution[data.vidQual].width, minWidth: videoResolution[data.vidQual].width,
minHeight: videoResolution[data.vidQual].height, minHeight: videoResolution[data.vidQual].height,
maxWidth: maxWidth, maxWidth: maxWidth,
maxHeight: maxHeight maxHeight: maxHeight,
minFrameRate: 15,
vertoBestFrameRate: 30
}; };
} }
@ -549,6 +552,12 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location',
bar: "yes" bar: "yes"
}, },
videoParams: getVideoParams(), videoParams: getVideoParams(),
// TODO: Add options for this.
audioParams: {
googAutoGainControl: false,
googNoiseSuppression: false,
googHighpassFilter: false
},
iceServers: data.useSTUN iceServers: data.useSTUN
}, callbacks); }, callbacks);