mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-8293 [verto_communicator] Implemented speed test in verto communicator.
This commit is contained in:
committed by
Anthony Minessale
parent
24b0161cdf
commit
5c73724f50
@@ -52,10 +52,11 @@
|
||||
storage.data.email = verto.data.email;
|
||||
storage.data.login = verto.data.login;
|
||||
storage.data.password = verto.data.password;
|
||||
verto.testSpeed();
|
||||
|
||||
if (redirect && storage.data.preview) {
|
||||
$location.path('/preview');
|
||||
}
|
||||
else if (redirect) {
|
||||
} else if (redirect) {
|
||||
$location.path('/dialpad');
|
||||
}
|
||||
}
|
||||
|
@@ -26,6 +26,21 @@
|
||||
return verto.refreshDevices();
|
||||
};
|
||||
|
||||
$scope.rangeBandwidth = function(bandwidth) {
|
||||
for(var i = 0; i < verto.videoQuality.length; i++) {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
$scope.testSpeed = function() {
|
||||
return verto.testSpeed(cb);
|
||||
|
||||
function cb(data) {
|
||||
|
||||
$scope.$apply();
|
||||
}
|
||||
};
|
||||
|
||||
$scope.resetSettings = function() {
|
||||
if (confirm('Factory Reset Settings?')) {
|
||||
storage.factoryReset();
|
||||
|
Reference in New Issue
Block a user