fix(devices) filter out Zoom audio device

I haven't seen any particular problem with it, but it's of no use
anyway...
This commit is contained in:
Saúl Ibarra Corretgé
2024-12-19 14:52:44 +01:00
committed by Saúl Ibarra Corretgé
parent 30595584a3
commit c23684e11c

View File

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