You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an interaction with a stream of audio that should be transcripted. It's not like a podcast where it is a single large stream, rather it's more conversational where there could be a sentence and a pause of 30 seconds or more and then another sentence. I figure the best thing to do is use a unique instance for each interaction.
The problem is that subsequent instances of the LiveTranscription object don't seem to send data. The first time through the code it works fine but when deepgramLive is initialized a second time, the TRANSCRIPT_RECEIVED handler is never fired until eventually it closes, that is, the CLOSE handler is called.
One thing to note is if I don't reinitialize deepgramLive, the stream can pick up subsequent phrases.
What is the current behavior?
I have an interaction with a stream of audio that should be transcripted. It's not like a podcast where it is a single large stream, rather it's more conversational where there could be a sentence and a pause of 30 seconds or more and then another sentence. I figure the best thing to do is use a unique instance for each interaction.
The problem is that subsequent instances of the
LiveTranscription
object don't seem to send data. The first time through the code it works fine but whendeepgramLive
is initialized a second time, theTRANSCRIPT_RECEIVED
handler is never fired until eventually it closes, that is, theCLOSE
handler is called.One thing to note is if I don't reinitialize
deepgramLive
, the stream can pick up subsequent phrases.Steps to reproduce
The text was updated successfully, but these errors were encountered: