Merge pull request #404 in FS/freeswitch from ~JONATASOLIVEIRA/freeswitch:bugfix/FS-7977-selecting-the-highest-supported-resolution-isnt-working to master

* commit '880fb810d045458a05f06a4f65353bc61f69ba99':
  FS-7977 - [Verto Communicator] Fixing default resolution and cleaning code
This commit is contained in:
Ítalo Rossi
2015-08-19 15:49:02 -05:00
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;
}