If not, will I ever get zero? More than two? I'm wondering whether I use socket.recv() after each chunk of audio.
I'm using utterances=true if that makes a difference.
(Also asked at https://github.com/orgs/deepgram/discussions/464 )
1 messages · Page 1 of 1 (latest)
If not, will I ever get zero? More than two? I'm wondering whether I use socket.recv() after each chunk of audio.
I'm using utterances=true if that makes a difference.
(Also asked at https://github.com/orgs/deepgram/discussions/464 )
Thanks for asking your question. Please be sure to reply with as much detail as possible so we can assist you efficiently. Such as:
request_id if you've a question about a transcription response.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.