Skip to content

STT: Websocket Recognize stream - API Key times out after 1 hour & causes Connection Error #849

Closed
@RMichaelPickering

Description

@RMichaelPickering

Our application uses node.js on backend, with audio streamed from Unity3D. We're able to get the recognize method working by passing on the audio, and we're opening a session as we detect each user, then closing it when they're inactive.

Everything works well until our app has been running for about an hour, at which point it seems like the API key times out, and all our connections get an error. All we can do to work around this is restart the app.

Is there no way to manage the lifecycle of the API key? Or refresh it after a period of time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions