]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
always change bw
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 6 Oct 2015 19:43:28 +0000 (14:43 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 6 Nov 2015 20:01:54 +0000 (14:01 -0600)
html5/verto/video_demo/verto.js

index a0e2d6f6c86e48ae016982fd29ac48187e971309..32caac3041201cff897423a763409c812d0ed80b 100644 (file)
@@ -204,7 +204,7 @@ function do_speed_test(fn)
     vertoHandle.rpcClient.speedTest(1024 * 256, function(e, obj) {
        //console.error("Up: " + obj.upKPS, "Down: ", obj.downKPS);
        var vid = "default";
-       if (outgoingBandwidth === "default") {
+       //if (outgoingBandwidth === "default") {
            outgoingBandwidth = Math.ceil(obj.upKPS * .75).toString();
            
            $("#vqual_hd").prop("checked", true);
@@ -218,7 +218,7 @@ function do_speed_test(fn)
                $("#vqual_qvga").prop("checked", true);
                vid = "320x240";
            }
-       }
+       //}
 
        if (incomingBandwidth === "default") {
            incomingBandwidth = Math.ceil(obj.downKPS * .75).toString();