浏览代码

fix(devices) filter out Zoom audio device

I haven't seen any particular problem with it, but it's of no use
anyway...
factor2
Saúl Ibarra Corretgé 6 个月前
父节点
当前提交
c23684e11c
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      react/features/base/devices/constants.ts

+ 5
- 2
react/features/base/devices/constants.ts 查看文件

@@ -1,8 +1,11 @@
1 1
 /**
2 2
  * Prefixes of devices that will be filtered from the device list.
3 3
  *
4
- * NOTE: Currently we filter only 'Microsoft Teams Audio Device' virtual device. It seems that it can't be set
4
+ * NOTE: It seems that the filtered devices can't be set
5 5
  * as default device on the OS level and this use case is not handled in the code. If we add more device prefixes that
6 6
  * can be default devices we should make sure to handle the default device use case.
7 7
  */
8
-export const DEVICE_LABEL_PREFIXES_TO_IGNORE = [ 'Microsoft Teams Audio Device' ];
8
+export const DEVICE_LABEL_PREFIXES_TO_IGNORE = [
9
+    'Microsoft Teams Audio Device',
10
+    'ZoomAudioDevice'
11
+];

正在加载...
取消
保存