omi icon indicating copy to clipboard operation
omi copied to clipboard

React Native Deepgram Stop closes the socket without CloseStream

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

On current main, createDeepgramTranscriber().stop() in sdks/react-native/src/stt/deepgram.ts calls ws.close() and never sends Deepgram's CloseStream frame ({"type":"CloseStream"}). Remaining transcription results can be dropped. The Go device SDK counterpart is #13023.

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

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