Enhanced Messaging in Streaming
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.
Company
Deepgram
Date published
Oct. 18, 2022
Author(s)
Shir Goldberg
Word count
309
Language
English
Hacker News points
None found.