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

CloudSpeechRecognizer connection status #34

Open
lpercifield opened this issue Feb 13, 2017 · 5 comments
Open

CloudSpeechRecognizer connection status #34

lpercifield opened this issue Feb 13, 2017 · 5 comments

Comments

@lpercifield
Copy link

Great work BTW!

I'm interested in understanding if there is a way to detect the status of the cloud speech recognizer. I'm working on an embedded application and would love to be able to display an "offline" if the recognizer socket has disconnected or if the connection fails. Currently it fails silently.

Tested by disconnecting network and running any sonus example.

I looked through the google cloud docs and didn't see anything obvious.

Hopefully it's a quick fix, or you can point me to the google module that does it.

Thanks again,
Leif

@evancohen
Copy link
Owner

I've been looking for the docs on this as well. It doesn't seem like it's obviously exposed. Ideally sonus could trigger the error event with context saying that there is a connection issue, but I haven't been able to find any documentation about it in their speech library. Maybe it'd better to look at the grpc lib?

@scargill
Copy link

scargill commented Mar 2, 2017

That's really a must. Amazon DOT comes back with a red light and "I'm sorry but I'm having trouble understanding right now".

@evancohen
Copy link
Owner

Totally agreed. I'm still looking for a good way to do this and am open to suggestions :)

@lpercifield
Copy link
Author

I opened an issue with in the google repo, seems like there might be something doing on their end: googleapis/google-cloud-node#1993

@evancohen
Copy link
Owner

It seems that this is now exposed! I should have time to implement it this weekend :)

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

3 participants