Refactor TranscriptionUserTurnStopStrategy and TurnAnalyzerUserTurnStopStrategy to use VADUserStoppedSpeakingFrame as the ground truth for when speech ended, rather than triggering timeouts from transcription frames.
468 B
468 B
- Improved user turn stop timing in
TranscriptionUserTurnStopStrategyandTurnAnalyzerUserTurnStopStrategy.- Timeout now starts on
VADUserStoppedSpeakingFramefor tighter, more predictable timing - Added support for finalized transcripts (
TranscriptionFrame.finalized=True) to trigger earlier - Added fallback timeout for edge cases where transcripts arrive without VAD events
- Removed
InterimTranscriptionFramehandling (no longer affects timing)
- Timeout now starts on