Skip to content

Conversation

jkroll-deepgram
Copy link
Contributor

Using an empty byte to close the stream is deprecated. See docs warning message. Update to send the proper { 'type': 'CloseStream' } websocket message when calling the finish() method to close a stream.

Tested and this produces no noticeable differences to the user.

@shirgoldbird
Copy link
Contributor

Awesome! Thanks for getting this in!

@jkroll-deepgram jkroll-deepgram merged commit 9ec4e76 into deepgram:main Jul 28, 2023
@jkroll-deepgram jkroll-deepgram deleted the update-closestream branch July 28, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants