FS-10814 - [verto_communicator] Do not change video resolution if auto detect video settings is off

This commit is contained in:
Italo Rossi 2017-11-28 17:31:49 -03:00
parent f7e2505fc7
commit 058fb31789

View File

@ -427,6 +427,11 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
}
updateResolutions(resolutions['validRes']);
/* Do not touch video device resolution if autoBand is off and we have selected a vidQual */
if (!storage.data.autoBand && storage.data.vidQual) {
w = videoResolution[storage.data.vidQual].width;
h = videoResolution[storage.data.vidQual].height;
}
data.instance.videoParams({
minWidth: w,
minHeight: h,