Company
Date Published
Author
Shir Goldberg
Word count
309
Language
English
Hacker News points
None

Summary

Deepgram has announced an update to its streaming API for enhanced usability. The new feature allows users to close streaming connections by sending a JSON message containing the type "CloseStream". This ensures that all transcripts are received and prevents unnecessary charges for untranscribed audio. Previously, closing connections was done using empty bytes, which is now deprecated. Deepgram will release additional JSON messages in the coming months to unlock more features in its real-time API.