Fixed an issue where BotStartedSpeakingFrame and BotStoppedSpeakingFrame

were not emitted when using `TavusVideoService` or `HeyGenVideoService`.
This commit is contained in:
Filipi Fuchter
2025-08-05 17:11:34 -03:00
parent 50083d1144
commit 64592b274b
6 changed files with 69 additions and 3 deletions

View File

@@ -238,6 +238,18 @@ class TTSAudioRawFrame(OutputAudioRawFrame):
pass
@dataclass
class SpeechOutputAudioRawFrame(OutputAudioRawFrame):
"""An audio frame part of a speech audio stream.
This frame is part of a continuous stream of audio frames containing speech.
The audio stream might also contain silence frames, so a process to distinguish
between speech and silence might be needed.
"""
pass
@dataclass
class URLImageRawFrame(OutputImageRawFrame):
"""Image frame with an associated URL.