From e53b021f20b8f4d22c9fe3e825026b8f153503b3 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Wed, 17 Jul 2019 10:05:10 -0600 Subject: [PATCH] Increase timeout to 5 mins [(#2206)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2206) Speech is getting support for 5 minutes of streaming --- .../samples/microphone/transcribe_streaming_indefinite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-python-speech/samples/microphone/transcribe_streaming_indefinite.py b/packages/google-cloud-python-speech/samples/microphone/transcribe_streaming_indefinite.py index f1adb2247f13..c6f3ff97be31 100644 --- a/packages/google-cloud-python-speech/samples/microphone/transcribe_streaming_indefinite.py +++ b/packages/google-cloud-python-speech/samples/microphone/transcribe_streaming_indefinite.py @@ -38,7 +38,7 @@ from six.moves import queue # Audio recording parameters -STREAMING_LIMIT = 55000 +STREAMING_LIMIT = 290000 SAMPLE_RATE = 16000 CHUNK_SIZE = int(SAMPLE_RATE / 10) # 100ms