]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8043 part 2
authorBrian West <brian@freeswitch.org>
Fri, 28 Aug 2015 20:39:11 +0000 (15:39 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 28 Aug 2015 20:39:11 +0000 (15:39 -0500)
html5/verto/verto_communicator/src/vertoService/services/vertoService.js

index dcf32a05150277917af924db5d80c9f9a8569bad..e5751c11af9ab3ce0a4042e07e029786fe1742bb 100644 (file)
@@ -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,