Open noellemorris opened 2 years ago
Is .3gp not supported by SpeechStreamService?
No, you have to transcode.
If not, what file formats are supported?
Only raw PCM data.
Thank you for the quick response! I do have some additional questions:
If not, what file formats are supported?
Only raw PCM data.
Could you explain what you mean by this? Because your this sample app uses a .wav
from the assets folder:
So I'd like to understand why that works, if only raw PCM data is supported.
Thanks!
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.)