diff --git a/html5/verto/verto_communicator/js/controllers.js b/html5/verto/verto_communicator/js/controllers.js index cdbed5c75e..a4bfd07b50 100644 --- a/html5/verto/verto_communicator/js/controllers.js +++ b/html5/verto/verto_communicator/js/controllers.js @@ -676,7 +676,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http', }; $scope.refreshDeviceList = function() { - verto.refreshDevices(); + return verto.refreshDevices(); } } ]); diff --git a/html5/verto/verto_communicator/js/verto-service.js b/html5/verto/verto_communicator/js/verto-service.js index c81e4b3fb8..87b93b73f3 100644 --- a/html5/verto/verto_communicator/js/verto-service.js +++ b/html5/verto/verto_communicator/js/verto-service.js @@ -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) {