You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to adapt the File recognition code to files I record with Android's MediaRecorder class, and I'm having trouble getting it to work with code something like the following:
Then I pass it to the sample code's recognizeFile method with:
InputStreamais = newFileInputStream(audioFile);
But the results in my callbacks are always empty. Is .3gp not supported by SpeechStreamService? If not, what file formats are supported? Or is there something else I'm doing wrong? (I never get an IOException, just empty hypothesis strings in the callbacks.)
The text was updated successfully, but these errors were encountered:
Hi,
I'm attempting to adapt the File recognition code to files I record with Android's MediaRecorder class, and I'm having trouble getting it to work with code something like the following:
Then I pass it to the sample code's
recognizeFile
method with:But the results in my callbacks are always empty. Is
.3gp
not supported bySpeechStreamService
? If not, what file formats are supported? Or is there something else I'm doing wrong? (I never get an IOException, just emptyhypothesis
strings in the callbacks.)The text was updated successfully, but these errors were encountered: