omi icon indicating copy to clipboard operation
omi copied to clipboard

TypeScript device SDK Deepgram Stop closes without CloseStream

Open Da7em-T opened this issue 2 months ago • 0 comments

On current main, createDeepgramTranscriber().stop() in sdks/device/typescript/src/stt/index.ts calls ws.close() and never sends Deepgram's CloseStream frame ({"type":"CloseStream"}). Remaining transcription results can be dropped. Go counterpart: #13023. React Native counterpart: #13621.

Reproduction with Node 22 and an injected createWebSocket (no live Deepgram, credentials, or audio): stop() recorded close() and no text frame.

Da7em-T avatar Sep 12 '26 13:09 Da7em-T