Skip to content

Automatic recovery from sudden connection loss #163

@aslakhol

Description

@aslakhol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions