On Sun, Apr 23, 2017 at 7:17 AM, David Edery <da...@intuitionrobotics.com> wrote:
> There's another, probably-unrelated issue of a channel that reached the >>>> streaming limitation - If I stream more than 65 seconds using the same >>>> channel, I get an exception. I assume that the source of this exception is >>>> the speech API itself and not an internal gRPC logic (is my assumption >>>> correct?) Currently I'm handling this by: >>>> A. Not streaming more than 65 seconds of audio data >>>> B. Once I get the final result from the speech API, I immediately >>>> create another channel using the above described flow >>>> >>> >> I'd have to see the error to say. There's not any hard-coded limit of 65 >> seconds in grpc, but networks can do strange things at times. >> > > io.grpc.StatusRuntimeException: OUT_OF_RANGE: Exceeded maximum allowed > stream duration of 65 seconds. > That looks like a speech-api limitation. 65 seconds seems like 1 minute + some fuzz. And yep, the limit is part of the documentation <https://cloud.google.com/speech/limits>. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oPDgKrSG1P9v82S%2Bu-epLD8zwbONdBv2H3RfoUM4HiC2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature