omi icon indicating copy to clipboard operation
omi copied to clipboard

Dart device SDK Deepgram Stop closes without CloseStream

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

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.

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