You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]replace browser microphone streaming in StreamingRecognizieClient.java[/-][+]browser microphone streaming throgh websocketin StreamingRecognizieClient.java[/+]on Mar 9, 2017
Hello! Thanks for the feedback. We're trying to keep the samples in this repo as simple as practical to accomplish the task we're trying to teach (in this case, communicating with the Speech API with streaming audio). Adding websockets isn't applicable to all use cases, so probably not appropriate for this repo.
That said, we have a codelab that covers this, which also has a corresponding repo with a sample solution that implements what you describe. Specifically, see TranscribeSocket.java, which listens on a websocket for data, that it then forwards to the Speech API.
Activity
[-]replace browser microphone streaming in StreamingRecognizieClient.java[/-][+]browser microphone streaming throgh websocketin StreamingRecognizieClient.java[/+]jerjou commentedon Mar 13, 2017
Hello! Thanks for the feedback. We're trying to keep the samples in this repo as simple as practical to accomplish the task we're trying to teach (in this case, communicating with the Speech API with streaming audio). Adding websockets isn't applicable to all use cases, so probably not appropriate for this repo.
That said, we have a codelab that covers this, which also has a corresponding repo with a sample solution that implements what you describe. Specifically, see TranscribeSocket.java, which listens on a websocket for data, that it then forwards to the Speech API.
chore(deps): update dependency com.google.cloud.samples:shared-config…
chore(deps): update dependency com.google.cloud.samples:shared-config…
chore(deps): update dependency com.google.cloud.samples:shared-config…
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
chore(deps): update dependency com.google.cloud.samples:shared-config…