-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Is your feature request related to a problem? Please describe.
We regularly experience sudden connection loss to Speechmatics across many different customers. We have not been able to track down the reason or any steps to reproduce. The "symptoms" we experience is that socketState becomes closed
suddenly, without us intentionally closing the connection.
Describe the solution you'd like
Ideally we would like to not lose connection, but it would be useful if the sdk could automatically restore / restart a connection when there is an unexpected connection loss.
Describe alternatives you've considered
Currently we handle this issue by detecting if socketState turns to ´closed´ when we don't expect it to, and simply start a new connection. In theory we lose a few seconds of transcription when this is done, but for our use case this is tolerable.
Additional context
Our users are mental health practitioners who have 45-90 minute conversations while sitting in an office and we see these things across multiple users, locations, browsers and device types.