omi
omi copied to clipboard
React Native Deepgram Stop closes the socket without CloseStream
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().