Closed simonmcl closed 8 years ago
I have noticed this same issue.
Thanks @simonmcl and @luish! This is definitely something we'll be addressing in the new implementation of speech to text that we're working on.
I added this problem as an explicit feature requested of the new implementation, so that we can't miss it. For more information about the redesign, please see #168.
Since this problem is captured in #168, I'm going to close this issue in favor of that one.
Just started using this in a POC app. I introduced a timer to stop the recording if the user doesn't speak for X seconds. While testing this feature I uploaded a file that had only silence in it (watson stt probably through an error or returned no results / alternatives). XCGLogger printed the following:
However the completion handler for the
SpeechToText.transcribe(audioData: , format: , completionHandler:)
was never called.Using:
Xcode 7.2 (7C68) iOS 9.1