Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Record Audio + Speech To Text API (use any language we want if use SpeechToText) #329

Open
ducpt2 opened this issue Jun 19, 2019 · 2 comments

Comments

@ducpt2
Copy link

ducpt2 commented Jun 19, 2019

Version

Tell us which versions you are using ( you can see the versions in your package.json ):

react-native-audio :
react-native :
react :
using react-native-sound ? Yes/No

Expected behaviour :

What were you trying to do and what did you expect to happen ?

Actual behaviour

I want to record audio and send it to Google Cloud Speech API to transcript it to my language i want.

Steps to reproduce

The encoding, bitrate... is not feed, Google speech API always return empty.
"react-native": "0.59.9",
"react-native-audio": "^4.3.0",

@wangfpp
Copy link

wangfpp commented Jun 21, 2019

@ducpt2  recoder.progress(data => {})
you can get Buffer data or audio data?

@ducpt2
Copy link
Author

ducpt2 commented Jun 27, 2019

@wangfpp problem is Google Speech API strict the ecode type, SampleRate... so the video i save using react-native-audio can not fit. Uplooad to Google always response fail. Any helps? Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants