From: Brian West Date: Fri, 28 Aug 2015 20:39:11 +0000 (-0500) Subject: FS-8043 part 2 X-Git-Tag: v1.6.2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36abcab9f921cdccfedd99ae8edcaf61fd8ce40b;p=thirdparty%2Ffreeswitch.git FS-8043 part 2 --- diff --git a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js index dcf32a0515..e5751c11af 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js @@ -223,7 +223,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora } // Selecting the first source. - if (i == 0) { + if (i == 0 && !storage.data.selectedVideo) { storage.data.selectedVideo = device.id; } @@ -244,7 +244,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora for (var i in jQuery.verto.audioInDevices) { var device = jQuery.verto.audioInDevices[i]; // Selecting the first source. - if (i == 0) { + if (i == 0 && !storage.data.selectedVideo) { storage.data.selectedAudio = device.id; } @@ -586,7 +586,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora call: function(destination, callback) { console.debug('Attempting to call destination ' + destination + '.'); - this.refreshVideoResolution(); + //this.refreshVideoResolution(); var call = data.instance.newCall({ destination_number: destination,