Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using Safari on iOS, an empty packet is sent within the first few seconds of connecting. This causes the connection to close. By checking that e.data.size > 0, we only send packets with data to the Deepgram API, preventing this from happening.
- Loading branch information