Merge pull request #702 from pipecat-ai/mb/azure-websocket

Add an Azure TTS websocket service
This commit is contained in:
Mark Backman
2024-11-09 17:41:53 -05:00
committed by GitHub
2 changed files with 103 additions and 12 deletions

View File

@@ -63,6 +63,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
output to 24000 and also the default output transport sample rate. This
improves audio quality at the cost of some extra bandwidth.
- `AzureTTSService` now uses Azure websockets instead of HTTP requests.
- The previous `AzureTTSService` HTTP implementation is now
`AzureHttpTTSService`.
### Fixed
- Websocket transports (FastAPI and Websocket) now synchronize with time before