mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Fix: don't show local talking indicator while mic is muted
selfActive is driven by MicCapture's local VAD (raw input level), which has no notion of the input-muted state - only the actual audio send (onFrame) checked inputMutedRef. So muting the mic still lit up the green talking indicator on your own row locally, even though nothing was being transmitted.
This commit is contained in:
1 parent
44450ab35f
commit
4847972c80
1 file changed
+1
-1
+1
-1
@@ -5839,7 +5839,7 @@ function AppInner() {
|
||||
const inputMuted = ownClient?.inputMuted ?? false;
|
||||
const outputMuted = ownClient?.outputMuted ?? false;
|
||||
const displayTalkers =
|
||||
selfActive && ownClient ? new Set(talkers).add(ownClient.id) : talkers;
|
||||
selfActive && !inputMuted && ownClient ? new Set(talkers).add(ownClient.id) : talkers;
|
||||
const t = useT();
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user