]> 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)
committerTiago Lisboa <tiago.caio.ol@gmail.com>
Wed, 10 May 2017 00:03:25 +0000 (21:03 -0300)
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 1994a85196a619cbb6f2613add175753e92d74b0..05b2357bfeeaa82965e5286978cf13a96e379f7f 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) {