Skip to content

Changed OnListen to return a bool, true if audio was sent/enqueued #299

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

Conversation

kimberlysiva
Copy link
Contributor

Changed the Speech-to-Text OnListen function to return a bool. Returns true if audio clip was sent or enqueued, returns false if audio clip was discarded (due to detect silence threshold). This would be very helpful for extensions like mine that try to align the word timestamps with application runtime. Without this it's hard to know which audio clips are actually sent.

@mediumTaj mediumTaj merged commit 30b6479 into watson-developer-cloud:gh279-streaming-example Nov 13, 2017
@kimberlysiva kimberlysiva deleted the 279-onListen branch November 13, 2017 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants