Change STTMuteProcessor to STTMuteFilter

This commit is contained in:
Mark Backman
2024-11-14 19:45:41 -05:00
parent f807f233bd
commit 966974bfc6
3 changed files with 6 additions and 6 deletions

View File

@@ -32,14 +32,14 @@ class STTMuteStrategy(Enum):
@dataclass
class STTMuteConfig:
"""Configuration for STTMuteProcessor"""
"""Configuration for STTMuteFilter"""
strategy: STTMuteStrategy
# Optional callback for custom muting logic
should_mute_callback: Optional[Callable[["STTMuteProcessor"], Awaitable[bool]]] = None
should_mute_callback: Optional[Callable[["STTMuteFilter"], Awaitable[bool]]] = None
class STTMuteProcessor(FrameProcessor):
class STTMuteFilter(FrameProcessor):
"""A general-purpose processor that handles STT muting and interruption control.
This processor combines the concepts of STT muting and interruption control,