Merge pull request #2413 from captaincaius/fix-stt-mute-filter-vad-frames-20250810

Add VADUserStartSpeakingFrame VADUserStopSpeakingFrame to STTMuteFilter (fix #2412)
This commit is contained in:
Mark Backman
2025-08-11 13:54:34 -07:00
committed by GitHub
3 changed files with 53 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ from pipecat.frames.frames import (
TranscriptionFrame,
UserStartedSpeakingFrame,
UserStoppedSpeakingFrame,
VADUserStartedSpeakingFrame,
VADUserStoppedSpeakingFrame,
)
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
@@ -205,6 +207,8 @@ class STTMuteFilter(FrameProcessor):
(
StartInterruptionFrame,
StopInterruptionFrame,
VADUserStartedSpeakingFrame,
VADUserStoppedSpeakingFrame,
UserStartedSpeakingFrame,
UserStoppedSpeakingFrame,
InputAudioRawFrame,