According to the Google Cloud Speech RPC documentation when using single_utterance we should stop streaming audio after the END_OF_UTTERANCE EndpointerType is received.
When an utterance is complete and there is no transcript (ie: no recognized speech) we should send a final-result with an empty string.
This PR is for two things:
According to the Google Cloud Speech RPC documentation when using
single_utterance
we should stop streaming audio after theEND_OF_UTTERANCE
EndpointerType is received.When an utterance is complete and there is no transcript (ie: no recognized speech) we should send a
final-result
with an empty string.