3

What I'm trying to do is get real time transcription for video recorded in the browser with webRTC. Use case is basically subtitles in real time like google hangouts has.

So I have a WebRTC program running in the browser. It sends webm objects back to the server. They are linear32 audio encodings. Google speech to text only accepts linear16 or Flac files.

Is there a way to convert linear32 to linear16 in real time?

Otherwise has anyone been able to hook up webRTC with Google speech to get real time transcriptions working?

Any advice on where to look to solve this problem would be great

Matt Ffc
  • 31
  • 1

1 Answers1

1

Check out this repository it might help you - https://github.com/muaz-khan/Translator

Translator.js is a JavaScript library built top on Google Speech-Recognition & Translation API to transcript and translate voice and text. It supports many locales and brings globalization in WebRTC!

Karthik
  • 1,214
  • 16
  • 17
  • Thanks Karthik, but the code in that implementation is back from 2016 and doesn't seem to be set up for live transcription in real time – Matt Ffc Mar 23 '20 at 23:54