-
My application is getting data stream as an input which I need to send to google STT service. I need to do asynchronous recognition of user input. I am referring to following link to build my application. Instead of extracting data from file, I am getting data stream as my input source. I am trying to prepare
I have started another thread where I pass RecognizeStream object by reference :
There error I see on my google dashboard is 400/499. Looks like I am not able to form the request correctly here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Is there a message accompanying the error? Usually that includes some details about what might be wrong. You may also be able to use the Also, check the documentation for the service and its requests: |
Beta Was this translation helpful? Give feedback.
Is there a message accompanying the error? Usually that includes some details about what might be wrong.
You may also be able to use the
GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes
andGOOGLE_CLOUD_CPP_ENABLE_TRACING=rpc,rpc-streams
to get more detailed logs of the requests.Also, check the documentation for the service and its requests:
https://github.com/googleapis/googleapis/blob/30517fdc372db88146dd4e72b6309cc0b85e2e01/google/cloud/speech/v1/cloud_speech.proto#L114
And https://cloud.google.com/speech-to-text/quotas#content