mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 11:48:48 +00:00
always change bw
This commit is contained in:
parent
1c8088a4a0
commit
24b0161cdf
@ -204,7 +204,7 @@ function do_speed_test(fn)
|
|||||||
vertoHandle.rpcClient.speedTest(1024 * 256, function(e, obj) {
|
vertoHandle.rpcClient.speedTest(1024 * 256, function(e, obj) {
|
||||||
//console.error("Up: " + obj.upKPS, "Down: ", obj.downKPS);
|
//console.error("Up: " + obj.upKPS, "Down: ", obj.downKPS);
|
||||||
var vid = "default";
|
var vid = "default";
|
||||||
if (outgoingBandwidth === "default") {
|
//if (outgoingBandwidth === "default") {
|
||||||
outgoingBandwidth = Math.ceil(obj.upKPS * .75).toString();
|
outgoingBandwidth = Math.ceil(obj.upKPS * .75).toString();
|
||||||
|
|
||||||
$("#vqual_hd").prop("checked", true);
|
$("#vqual_hd").prop("checked", true);
|
||||||
@ -218,7 +218,7 @@ function do_speed_test(fn)
|
|||||||
$("#vqual_qvga").prop("checked", true);
|
$("#vqual_qvga").prop("checked", true);
|
||||||
vid = "320x240";
|
vid = "320x240";
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
|
|
||||||
if (incomingBandwidth === "default") {
|
if (incomingBandwidth === "default") {
|
||||||
incomingBandwidth = Math.ceil(obj.downKPS * .75).toString();
|
incomingBandwidth = Math.ceil(obj.downKPS * .75).toString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user