Skip to content

No a Issue but Need some details regarding streaming app. #295

Description

@higunjan

I'm developing speech to text web app. As per recording and generate wave file I converted that wave into google api supported .raw file and sent to API it successfully converted into text.

Now I have to develop like streaming when I speak send chunk to google API and bind text output on web page.

How should I develop. record direct into .raw format is that any way or google API support with direct chunk file.

Technology : NodeJS

Activity

  1. jmdobry commented on Jan 10, 2017

    @jmdobry
    Member

    You can find the encodings supported by the Google Cloud Speech API here: https://cloud.google.com/speech/reference/rest/v1beta1/RecognitionConfig#AudioEncoding

    It may be that your .wave file matches the MULAW encoding supported by the Cloud Speech API. You'll have to try it and see. More details on encodings: https://cloud.google.com/speech/docs/encoding

    You can access the Cloud Speech API from the browser, but only via HTTP (REST) and only for the SyncRecognize and AsyncRecognize methods.

    To do streaming, you need to use Speech#createRecognizeStream on the server in Node.js, then send the results back up to the browser.

  2. added a commit that references this issue on Nov 3, 2022
  3. added a commit that references this issue on Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions