Add a keepalive task to GladiaSTTService

This commit is contained in:
Mark Backman
2025-04-23 11:56:48 -04:00
parent db7d7a4204
commit 7d65132c93
2 changed files with 40 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
the Telnyx call when an `EndFrame` or `CancelFrame` is received. It is
enabled by default and is configurable via the `auto_hang_up` `InputParam`.
- Added a keepalive task to `GladiaSTTService` to prevent the websocket from
disconnecting after 30 seconds of no audio input.
### Changed
- In `TwilioFrameSerializer`, `call_sid` is Optional so as to avoid a breaking