Not setting the local audio level when the user stopped speaking.

This commit is contained in:
Filipi Fuchter
2025-05-13 10:46:30 -03:00
parent 61a59fa158
commit 8762019ed7

View File

@@ -103,7 +103,7 @@ export const VoiceClientProvider: React.FC<VoiceClientProviderProps> = ({ childr
// nothing to do here
})
.on("userStoppedSpeaking", () => {
setLocalAudioLevel(0)
// nothing to do here
})
.on("botStartedSpeaking", () => {
botSpeakingRef.current = true