项目作者: hansonrb

项目描述 :
Transcript Audio/Video Call in a real time
高级语言: JavaScript
项目地址: git://github.com/hansonrb/webrtc-google-transcript.git
创建时间: 2018-05-21T09:45:54Z
项目社区:https://github.com/hansonrb/webrtc-google-transcript

开源协议:

下载


webrtc-google-transcript

WebRTC Audio transcription using Google Cloud to speech API

Architecture

Architecture

Requirement

You need to have nodejs and npm and you can use nvm for multiple node versions.

More info about how to install nvm https://github.com/creationix/nvm

For Backend ( NodeJS Middleware )

  1. nvm install 6.14.2
  2. nvm use 6.14.2
  3. npm install
  4. export GOOGLE_APPLICATION_CREDENTIALS=/Volumes/data/works/webrtc/audio-google/cred.json
  5. npm run start

environment variable GOOGLE_APPLICATION_CREDENTIALS should be set with absolute URL

For frontend

You can use any html server : apache or nginx.
Or you can just use simple nodejs html server

Open another terminal and run following for frontend

  1. nvm use 6.14.2
  2. npm install -g serve
  3. serve .

And visit localhost:5000