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