Files
pipecat/changelog
Mark Backman 2f5e61ac55 Add silence-based keepalive to WebsocketSTTService
Adds opt-in keepalive_timeout and keepalive_interval params to
WebsocketSTTService. When enabled, a background task sends silent audio
(or a service-specific protocol message) when the connection has been
idle, preventing server-side timeout disconnects.

Subclasses override _send_keepalive(silence) to wrap the silence in
their wire format. The default sends raw PCM bytes.

Enables keepalive for ElevenLabs (10s), Gladia (20s), and Soniox (1s),
replacing their per-service custom keepalive tasks.
2026-02-10 17:58:47 -05:00
..
2026-02-05 14:29:45 -05:00
2026-02-03 09:12:59 -05:00
2026-02-05 15:10:36 -08:00
2026-02-06 16:45:23 -08:00
2026-02-02 14:47:22 +08:00
2026-02-04 11:19:30 -05:00
2026-02-04 11:19:30 -05:00
2026-02-05 12:19:51 -05:00
2026-02-05 11:35:22 -07:00
2026-02-05 15:48:00 -05:00
2026-02-06 10:11:00 -08:00
2026-02-06 10:05:02 -05:00
2026-02-10 12:31:26 +09:00
2026-02-09 11:58:09 -08:00
2026-02-10 08:20:03 -05:00