Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TooManyRequests on second time calling StartSpeechRecognitionFromMicrophone() #5

Open
andymule opened this issue May 21, 2020 · 0 comments

Comments

@andymule
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant