deepgram / deepgram-go-sdk

Go SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
31 stars 27 forks source link

Fix Repeated/Excessive Read Failure on WS #234

Closed dvonthenen closed 3 months ago

dvonthenen commented 3 months ago

Proposed changes

Tested using all examples in examples/streaming and edges cases in tests/edge_cases.

This does break the main Connect function interfaces. Instead of returning the websocket connection, the function just returns true or false if the connect was successful or not.

Types of changes

What types of changes does your code introduce to the community Go SDK? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

NA