Merge pull request #4306 from YFortin/fix/azure-tts-last-word-race

fix(azure-tts): Route completion through word boundary queue to prevent last word from being missed
This commit is contained in:
Mark Backman
2026-05-19 22:27:50 -04:00
committed by GitHub
2 changed files with 27 additions and 11 deletions

1
changelog/4306.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed Azure TTS last word being missed by observers and RTVI UI. The completion signal was racing with word timestamp processing, causing the final word's `TTSTextFrame` to arrive after `TTSStoppedFrame`. Completion is now routed through the word boundary queue to ensure all words are processed before signaling stream end.