Closed K-Mistele closed 3 weeks ago
This is a usage problem and not an SDK issue so I will close this ticket.
In the meantime, please check out this doc: https://developers.deepgram.com/docs/understand-endpointing-interim-results
If you'd like help using our products, you can ask us questions in our developer communities; links to those found on https://community.deepgram.com
What is the current behavior?
Currently using the Node.js
ListenLiveClient
for websockets streaming-based transcription, sometimes I encounter an issue where a transcription is finalized (is_final: true
), but I never receive a transcription update withspeech_final: true
.At some point, after a transcription is finalized, the speech should be finalized as well. requesting finalization with
listenLiveClient.finalize()
does not result in the speech being finalized, either.Steps to reproduce
This is my
ListenLiveClient
configuration:I am sending audio from twilio (G.711 u-law 8kHz, base64-encoded) to the listen live client, and receiving transcription events.
Expected behavior
I expect to receive intermediate / interim transcriptions, and then a transcription with
is_final
set totrue
. Ifspeech_final
is set to true, then I use the result. ifspeech_final
is set tofalse
, I expect to receive another transcription event in the future that containsspeech_final
set to true.To attempt to fix this problem, I attempt to manually request finalization with
connection.finalize()
, but nospeech_final
is ever receivedPlease tell us about your environment
Other information