mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-22 22:29:30 +00:00
disable startUsingDeviceNames
This commit is contained in:
@@ -401,10 +401,10 @@ export const useMediaDeviceNames = (
|
|||||||
enabled = true,
|
enabled = true,
|
||||||
): void =>
|
): void =>
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (enabled) {
|
// if (enabled) {
|
||||||
context.startUsingDeviceNames();
|
// context.startUsingDeviceNames();
|
||||||
return context.stopUsingDeviceNames;
|
// return context.stopUsingDeviceNames;
|
||||||
}
|
// }
|
||||||
}, [context, enabled]);
|
}, [context, enabled]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user