SzasznikaJanos
SzasznikaJanos
It you want i can make it and send a pull request
No i did not modify the buffer on anything from Speech Sample Code. I moved just The StartVoiceRecorder() from MainActivity`s OnStart() and also the stopVoiceRecorder() from on Destroy , i...
Still getting the Stream was half close error.
` mRequestObserver.onNext(StreamingRecognizeRequest.newBuilder() .setStreamingConfig(StreamingRecognitionConfig.newBuilder() .setConfig(RecognitionConfig.newBuilder() .setLanguageCode(getDefaultLanguageCode()) .setEncoding(RecognitionConfig.AudioEncoding.LINEAR16) .setSampleRateHertz(sampleRate) .build()) .setInterimResults(true) .setSingleUtterance(false) // set this to false. .build()) .build());` On the startRecognizing function. The key is setSingleUtterance to false
Unfortunately no