FastAPIWebsocketTransport: fix to work with text and binary

This commit is contained in:
Aleix Conchillo Flaqué
2024-12-05 23:53:45 -08:00
parent 3cb7829624
commit 842b3de7f5
8 changed files with 152 additions and 110 deletions

View File

@@ -68,6 +68,9 @@ async def on_audio_data(processor, audio, sample_rate, num_channels):
### Fixed
- Fixed `FastAPIWebsocketTransport` so it can work with binary data (e.g. using
the protobuf serializer).
- Fixed an issue in `CartesiaTTSService` that could cause previous audio to be
received after an interruption.