omi
omi copied to clipboard
Dart device SDK Deepgram Stop closes without CloseStream
On current main, DeepgramTranscriber.stop() in sdks/device/dart/lib/stt/stt.dart calls _channel.sink.close() and never sends Deepgram's CloseStream frame ({"type":"CloseStream"}). Remaining transcription results can be dropped. Go counterpart: #13023. React Native: #13621. TypeScript device SDK: #13623.
Reproduction with an injected WebSocketChannel (no live Deepgram, credentials, or audio): stop() closed the sink and sent no CloseStream text frame. Parakeet in the same file already sends finalize before close.