introduce and push UserSpeakingFrame upstream/downstream

This commit is contained in:
Aleix Conchillo Flaqué
2025-09-03 13:49:42 -07:00
parent f56be9315a
commit 09d6ec1098
4 changed files with 21 additions and 14 deletions

View File

@@ -898,6 +898,16 @@ class UserStoppedSpeakingFrame(SystemFrame):
emulated: bool = False
@dataclass
class UserSpeakingFrame(SystemFrame):
"""Frame indicating the user is speaking.
Emitted by VAD to indicate the user is speaking.
"""
pass
@dataclass
class EmulateUserStartedSpeakingFrame(SystemFrame):
"""Frame to emulate user started speaking behavior.