always change bw

This commit is contained in:
Anthony Minessale 2015-10-06 14:43:28 -05:00
parent 1c8088a4a0
commit 24b0161cdf
1 changed files with 2 additions and 2 deletions

View 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();