FS-7977 - [Verto Communicator] Fixing default resolution and cleaning code

This commit is contained in:
Stefan Yohansson
2015-08-18 15:28:32 -03:00
committed by root
parent 3e78565441
commit 880fb810d0
6 changed files with 449 additions and 249 deletions

View File

@@ -1040,7 +1040,11 @@ var iceTimer;
var checkRes = function (cam, func) {
if (resI >= resList.length) {
if (func) return func();
var res = {
'validRes': $.FSRTC.validRes,
'bestResSupported': $.FSRTC.bestResSupported()
};
if (func) return func(res);
return;
}