Merge pull request #3675 from pipecat-ai/mb/elevenlabs-realtime-send-silence

Add silence-based keepalive to WebsocketSTTService
This commit is contained in:
Mark Backman
2026-02-10 18:03:38 -05:00
committed by GitHub
6 changed files with 174 additions and 70 deletions

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

@@ -0,0 +1 @@
- Fixed WebSocket STT services (ElevenLabs, Cartesia, Gladia, Soniox) disconnecting due to idle timeout when no audio is being sent (e.g. when inactive behind a `ServiceSwitcher`). `WebsocketSTTService` now provides opt-in silence-based keepalive via `keepalive_timeout` and `keepalive_interval` parameters.