How to handle knowing transcription is complete when live streaming? #933
Unanswered
sgodin
asked this question in
General help
Replies: 1 comment
-
Thanks for asking your question about Deepgram! If you didn't already include it in your post, please be sure to add as much detail as possible so we can assist you efficiently, such as:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using live streaming to transcribe phone calls. We are using the C# client API, however that is probably irrelevant to my question.
We are currently initializing with the following settings:
When the phone call is done we send a Finalize request on the websocket. Then we wait for transcription to be finished by looking for a result with FromFinalize set to true.
Most of the time I get back a final result with FromFinalize set to true as expected.
The documentation seems to indicate the FromFinalize set to true MAY not happen, see here: https://developers.deepgram.com/docs/finalize
"In most cases, you will receive this response, but it is not guaranteed if there is no significant amount of audio data to process."
I am seeing the odd case where I do NOT get a FromFinalize response. In this case how am I supposed to know that the transcription process is actually done?
The only solution I can think of is to start my own timer after calling Finalize and just assume things are done if I don't get a response with FromFinalize set to true, however I fear I might be firing it too early and there could actually be a result that would have arrived.
What is the recommended approach here?
Best Regards,
Scott
Beta Was this translation helpful? Give feedback.
All reactions