I have built a web based Speech-to-Text application with Google Speech-to-Text API.
The application flow:
- Get audio stream from browser
- Stream audio data to a speech recognition service and get real time results as our user talks
I have referenced the sample code in my application, the streamingRecognize request works perfectly with a signal client call, and my server can receive the interim-transcription result from Google Speech API.
However, when there are more then one client call streamingRecognize simultaneously, Google Speech API will get stuck. So, may I know how to handle more than one streamingRecognize request concurrently? Do I need to create another client to process the second streamingRecognize request? Thanks.
Back-end server specifications:
- NodeJS
- Socket.io
