From aeab417cd186c85e1682ee7ea6d0fd9413de6458 Mon Sep 17 00:00:00 2001 From: filipi87 Date: Wed, 15 Apr 2026 13:23:25 -0300 Subject: [PATCH] Changelogs for the STT service reconnect improvements. --- changelog/4311.changed.md | 1 + changelog/4311.fixed.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/4311.changed.md create mode 100644 changelog/4311.fixed.md diff --git a/changelog/4311.changed.md b/changelog/4311.changed.md new file mode 100644 index 000000000..2a3dab454 --- /dev/null +++ b/changelog/4311.changed.md @@ -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. diff --git a/changelog/4311.fixed.md b/changelog/4311.fixed.md new file mode 100644 index 000000000..a407306d1 --- /dev/null +++ b/changelog/4311.fixed.md @@ -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.