From 24b0161cdf7e0742cb22f81b3f8d6ab9184b91d8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 6 Oct 2015 14:43:28 -0500 Subject: [PATCH] always change bw --- html5/verto/video_demo/verto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html5/verto/video_demo/verto.js b/html5/verto/video_demo/verto.js index a0e2d6f6c8..32caac3041 100644 --- a/html5/verto/video_demo/verto.js +++ b/html5/verto/video_demo/verto.js @@ -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();