WebsocketService: handle clean server disconnection

The websocket async iterator doesn't raise an exception when the server
disconnects cleanly. We should handle that and raise an exception so we can
reconnect.
This commit is contained in:
Aleix Conchillo Flaqué
2025-02-14 09:54:03 -08:00
parent b2754bf208
commit e006dcf172
3 changed files with 17 additions and 5 deletions

View File

@@ -102,6 +102,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed a websocket-based service issue (e.g. `CartesiaTTSService`) that was
preventing a reconnection after the server disconnected cleanly, which was
causing an inifite loop instead.
- Fixed a `BaseOutputTransport` issue that was causing upstream frames to no be
pushed upstream.