omi
omi copied to clipboard
TypeScript device SDK Deepgram Stop closes without CloseStream
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.