#With the streaming websocket API, will I get exactly one response per audio buffer submission?

1 messages · Page 1 of 1 (latest)

alpine nexus
young cosmosBOT
#

Thanks for asking your question. Please be sure to reply with as much detail as possible so we can assist you efficiently. Such as:

  • Provide the request_id if you've a question about a transcription response.
  • The options you used or the api.deepgram.com URL you sent your request to, including parameters.
  • Any code snippets you can include.
  • Any audio you can include, or if you can't share it here please email it to us at [email protected] and provide a link to this thread.
split merlin
#

As all things in life, it depends. It mainly based on what your settings/options are. Utterance, endpointing, interim results, etc will all make a difference on how frequently you get a response.

If no one is speaking, you will definitely get an "empty" result because there is nothing to transcribe.

Ideally, you should have your send thread be running independently of the receive thread. For example, you can get multiple recv messages from a single send.