400 Audio Timeout Error: Long duration elapsed without audio. Audio should be sent close to real time. #11099
Labels
api: speech
Issues related to the Speech-to-Text API.
status: investigating
The issue is under investigation, which is determined to be non-trivial.
I'm trying out google's speech-to-text with streaming audio input.
I've a simple JS code that code record audio on button press and send the audio to fastapi backend using websockets. In fastapi backend I'm receiving audio bytes using webscoket and storing it in chunks and sending them to google speech-to-text stream recognition api and getting following error.
I've also verified incoming audio bytes by saving into file and when I played the saved audio file it is working
Error
Code
JS code to record audio
Note
3.7
The text was updated successfully, but these errors were encountered: