2
0
Эх сурвалжийг харах

Increase Speech Recognition timeout

Tim Burks 9 жил өмнө
parent
commit
b02e27db59

+ 1 - 1
Examples/Speech/Speech/SpeechRecognitionService.swift

@@ -41,7 +41,7 @@ class SpeechRecognitionService {
       client = Client(address:HOST, certificates: nil, host: nil)
       call = client.createCall(host: HOST,
                                method: "/google.cloud.speech.v1beta1.Speech/StreamingRecognize",
-                               timeout: 10.0)
+                               timeout: 60.0)
 
       let metadata = Metadata(["x-goog-api-key":API_KEY,
                                "x-ios-bundle-identifier":Bundle.main.bundleIdentifier!])