Closed syxanash closed 8 years ago
I haven't personally used the recognize v2 version for long responses, but Google does definetly have a request timeout. An easy solution is to just stream the audio through the duplex API and get realtime responses back. If I recall, you can get audio slightly longer than 30s if you lower the sample rate, but that will of course degrade the quality.
ok thanks for the hint! 👍
is this a limit by google that I can only upload an audio file which lasts max 30 seconds? if I try with 40s it returns null in response... code I tested was taken by the example branch. Here is an output: