{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples/issues/12","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples/issues/12/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples/issues/12/events","html_url":"https://github.com/GoogleCloudPlatform/ios-docs-samples/issues/12","id":168933692,"number":12,"title":"SpeechRecognitionService stops receiving response after few minutes of translation.","user":{"login":"tbass134","id":740060,"avatar_url":"https://avatars.githubusercontent.com/u/740060?v=3","gravatar_id":"","url":"https://api.github.com/users/tbass134","html_url":"https://github.com/tbass134","followers_url":"https://api.github.com/users/tbass134/followers","following_url":"https://api.github.com/users/tbass134/following{/other_user}","gists_url":"https://api.github.com/users/tbass134/gists{/gist_id}","starred_url":"https://api.github.com/users/tbass134/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbass134/subscriptions","organizations_url":"https://api.github.com/users/tbass134/orgs","repos_url":"https://api.github.com/users/tbass134/repos","events_url":"https://api.github.com/users/tbass134/events{/privacy}","received_events_url":"https://api.github.com/users/tbass134/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T16:46:51Z","updated_at":"2016-08-12T19:55:49Z","closed_at":null,"body":"In the sample demo app, after a few minutes or so, the `SpeechRecognitionCompletionHandler` no longer receives any response. The audio data is still being sent. I have remove `[self stopAudio:nil]` when `isFinal` is TRUE in order to continue translation. Is there a time limit set on the API?\r\n\r\nUPDATE: i did see the limits on its usage: https://cloud.google.com/speech/limits\r\nbut i am nowhere near those limits."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples/issues/comments/239544777","html_url":"https://github.com/GoogleCloudPlatform/ios-docs-samples/issues/12#issuecomment-239544777","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/ios-docs-samples/issues/12","id":239544777,"user":{"login":"mygzi","id":4131548,"avatar_url":"https://avatars.githubusercontent.com/u/4131548?v=3","gravatar_id":"","url":"https://api.github.com/users/mygzi","html_url":"https://github.com/mygzi","followers_url":"https://api.github.com/users/mygzi/followers","following_url":"https://api.github.com/users/mygzi/following{/other_user}","gists_url":"https://api.github.com/users/mygzi/gists{/gist_id}","starred_url":"https://api.github.com/users/mygzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mygzi/subscriptions","organizations_url":"https://api.github.com/users/mygzi/orgs","repos_url":"https://api.github.com/users/mygzi/repos","events_url":"https://api.github.com/users/mygzi/events{/privacy}","received_events_url":"https://api.github.com/users/mygzi/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T19:55:49Z","updated_at":"2016-08-12T19:55:49Z","body":"Read the limits more carefully:\r\n\r\n> The maximum duration of audio sent during StreamingRecognize and SyncRecognize requests is approximately one minute.\r\n\r\nIt seems that the API fails silently as you describe - transcription simply stops but no error is issued. \r\n\r\nIt's possible to work around this limitation (as long the speaker pauses to breathe every few minutes) by stopping and restarting the recognition process after each `isFinal` occurrence. "}}
{"actor":{"display_login":"mygzi"}}