Inconsistent behavior on local and staging env when using RealtimeTTS with Azure Speech Services #254
Closed
olivernaaris
started this conversation in
General
Replies: 1 comment 2 replies
-
Seems to me that the issue was related to Azure Speech SDK as I got the same issue when using just plain Azure SDK without RealtimeTTS. I found some issues in their GitHub that in theory are somewhat related, although I did not see exact correlation with my issue. For example: Azure-Samples/cognitive-services-speech-sdk#2280. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm using RealtimeTTS with socket.io to stream audio from Azure to backend (Python) and from backend to frontend (Next.js).
When using my code on my local dev env in MacBook - the audio streaming works well. However, when I deploy the backend code to a remote server (running inside Docker container) and frontend to Vercel - the audio synthesis just stops randomly without any error messages on the backend.
I also ran the Python backend in Docker on my local dev env to make sure that there is not MacBook vs Docker dependency issue.
It seems like RealtimeTTS audio streaming gets terminated without any error and it's impossible to tell why this is happening.
Any ideas?
I added the Socket.io and RealtimeTTS backend code with logs as attachments.
backend_logs.md
socketio_manager.md
text_to_speech_streaming.md
Beta Was this translation helpful? Give feedback.
All reactions