Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/rviscarra/webrtc-speech-to-text

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/rviscarra/webrtc-speech-to-text

  • v0.0.0-20190624045221-3d89718e3c12
  • Source
  • Go
  • Socket score

Version published
Created
Source

WebRTC speech to text server

Dependencies

The speech to text server only depends on Go 1.12.

Disclaimer

This project is only a proof of concept and SHOULDN'T be deployed on a production environment as it lacks even the most basic security measures.

Build the project

The project includes a Makefile, to build execute:

make

This should generate a transcribe-server binary.

Running the server

The server receives the following flags through the command line:

--google.cred (Required)

Path to a Google Cloud credential's file. The project must have Google Speech activated.

--http.port (Optional)

Specifies the port where the HTTP server should listen, by default the port 9000 is used.

--stun.server (Optional)

Allows to speficy a different STUN server, by default a Google STUN server is used.

Demo page

The demo works on Chrome 75, Firefox 67 and Safari 12.1.1

Demo screenshot

To run the demo execute the server and navigate to http://localhost:9000.

After pressing the Start button a dialog asking for permission to access the microphone should appear. After grating access a WebRTC connection is made to the local server, where audio data is decoded and streamed to Google Speech (streaming recognition).

Say something and press the Stop button, the results (if any) should appear on screen.

Architecture

Architecture and data flow

Coming soon

  • Unit tests.
  • Be able to specify the desired language.
  • Support for interim results.

License

MIT - see LICENSE for the full text.

FAQs

Package last updated on 24 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc