mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-8022 - fix refresh devices and prevent reset previous selected configuration
This commit is contained in:
parent
d262f07d0f
commit
ea4fe4f942
@ -675,7 +675,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http',
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.refreshDeviceList = function() {
|
$scope.refreshDeviceList = function() {
|
||||||
verto.refreshDevices();
|
return verto.refreshDevices();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
@ -248,10 +248,6 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
}];
|
}];
|
||||||
data.audioDevices = [];
|
data.audioDevices = [];
|
||||||
|
|
||||||
data.selectedVideo = 'none';
|
|
||||||
data.selectedShare = 'screen';
|
|
||||||
data.selectedAudio = null;
|
|
||||||
|
|
||||||
for (var i in jQuery.verto.videoDevices) {
|
for (var i in jQuery.verto.videoDevices) {
|
||||||
var device = jQuery.verto.videoDevices[i];
|
var device = jQuery.verto.videoDevices[i];
|
||||||
if (!device.label) {
|
if (!device.label) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user