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() {
|
||||
verto.refreshDevices();
|
||||
return verto.refreshDevices();
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
|
|
@ -248,10 +248,6 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||
}];
|
||||
data.audioDevices = [];
|
||||
|
||||
data.selectedVideo = 'none';
|
||||
data.selectedShare = 'screen';
|
||||
data.selectedAudio = null;
|
||||
|
||||
for (var i in jQuery.verto.videoDevices) {
|
||||
var device = jQuery.verto.videoDevices[i];
|
||||
if (!device.label) {
|
||||
|
|
Loading…
Reference in New Issue