Skip to content

TooManyRequests on second time calling StartSpeechRecognitionFromMicrophone() #5

@andymule

Description

@andymule

I can't find the root cause, but when you try to record a second time using StartSpeechRecognitionFromMicrophone(), you seem to send a lingering Start request with the previous request's id, followed immeditely by a new request. The server sees two simultaneous requests and returns TooMany Requests.

Closing WebSocket with Status: Validation failed with status: TooManyRequests
UnityEngine.Debug:Log(Object)

The code isn't running twice, and the async nature makes this pretty hard to debug.

Separately, StartRecording and StartSpeechRecognitionFromFile works fine forever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions