]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8941: [verto_communicator] Add No Microphone label to audio devices
authorTiago Lisboa <tiago.caio.ol@gmail.com>
Wed, 10 May 2017 00:03:25 +0000 (21:03 -0300)
committerMike Jerris <mike@jerris.com>
Thu, 1 Jun 2017 20:15:51 +0000 (16:15 -0400)
If no microphone was detected it was impossible to open a call.

So, add a No Microphone label, just like the No Camera, with id:none,
wich allow to enter a call with microphone disabled.

html5/verto/verto_communicator/src/vertoService/services/vertoService.js

index 0b860be788d3609921dcffd2ede64632097f3968..7783750a868c0eb4f3528ceddf70e97f016ddeb0 100644 (file)
@@ -263,7 +263,10 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
           id: 'screen',
           label: 'Screen'
         }];
-        data.audioDevices = [];
+        data.audioDevices = [{
+          id: 'none',
+          label: 'No Microphone'
+        }];
         data.speakerDevices = [];
 
         if(!storage.data.selectedShare) {