Changelogs for the STT service reconnect improvements.

This commit is contained in:
filipi87
2026-04-15 13:23:25 -03:00
parent d263ad3c34
commit aeab417cd1
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1 @@
- STT services now reconnect safely when settings change: reconnection is deferred until the current user turn ends (i.e., until `UserStoppedSpeakingFrame` is received) rather than interrupting an active speech session. Audio frames received while the reconnect is in progress are buffered and replayed once the new connection is ready. `CartesiaSTTService` and `DeepgramSTTService` both use this new behavior.

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

@@ -0,0 +1 @@
- Fixed audio loss and potential errors when STT settings were updated mid-speech. Previously, `CartesiaSTTService` and `DeepgramSTTService` would immediately disconnect and reconnect when settings changed, dropping any in-flight audio. Reconnection is now deferred until the user stops speaking, and audio arriving during the reconnect window is buffered and replayed.