Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-9628

Function $.FSRTC.bestResSupported fails to select best supported web cam resolution.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: verto
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      99de0ad5022
    • GIT Master Revision hash::
      25837103fba7c6f520e7732870247da3ee6853e2

      Description

      If webcam available resolutions array equal to [[320, 180], [320, 240], [640, 360], [640, 480]] then function $.FSRTC.bestResSupported returns [640, 360] and not [640, 480].

        Activity

        Hide
        mikej Mike Jerris added a comment -
        jquery.FSRTC.js:964 if ($.FSRTC.validRes[i][0] > w && $.FSRTC.validRes[i][1] > h) {

        its because of the && here.. maybe we can change those > to >= ?
        Show
        mikej Mike Jerris added a comment - jquery.FSRTC.js:964 if ($.FSRTC.validRes[i][0] > w && $.FSRTC.validRes[i][1] > h) { its because of the && here.. maybe we can change those > to >= ?

          People

          • Assignee:
            mikej Mike Jerris
            Reporter:
            pavelb Pavel Balashov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development