]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8010 Add hardcoded params
authorJoao Mesquita <jmesquita@indicium.com.ar>
Thu, 20 Aug 2015 23:53:26 +0000 (20:53 -0300)
committerJoao Mesquita <jmesquita@indicium.com.ar>
Thu, 20 Aug 2015 23:53:26 +0000 (20:53 -0300)
html5/verto/verto_communicator/js/verto-service.js

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