|
|
@@ -1,5 +1,6 @@
|
|
1
|
1
|
import { IStore } from '../app/types';
|
|
2
|
2
|
import { IStateful } from '../base/app/types';
|
|
|
3
|
+import { getWebHIDFeatureConfig } from '../base/config/functions.web';
|
|
3
|
4
|
import {
|
|
4
|
5
|
addPendingDeviceRequest,
|
|
5
|
6
|
getAvailableDevices,
|
|
|
@@ -46,7 +47,7 @@ export function getAudioDeviceSelectionDialogProps(stateful: IStateful, isDispla
|
|
46
|
47
|
const inputDeviceChangeSupported = JitsiMeetJS.mediaDevices.isDeviceChangeAvailable('input');
|
|
47
|
48
|
const speakerChangeSupported = JitsiMeetJS.mediaDevices.isDeviceChangeAvailable('output');
|
|
48
|
49
|
const userSelectedMic = getUserSelectedMicDeviceId(state);
|
|
49
|
|
- const deviceHidSupported = isDeviceHidSupported();
|
|
|
50
|
+ const deviceHidSupported = isDeviceHidSupported() && getWebHIDFeatureConfig(state);
|
|
50
|
51
|
const noiseSuppressionEnabled = isNoiseSuppressionEnabled(state);
|
|
51
|
52
|
const hideNoiseSuppression = isPrejoinPageVisible(state) || isDisplayedOnWelcomePage;
|
|
52
|
53
|
|