im trying to transcribe an audio file using google speech-to-text api, if im just using the example code passing the uri, work as expected, but when i change uri to content and pass my audio archive on base64 i got an empty object. How i can solve this?
the uri file that i got on console: uri file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540fakename%252Ffakeapp/Audio/recording-277b833a-748d-48ad-b1b1-f1ca800608b7.m4a
and when i encoding into base64 work as well but doesn't transcribe my audio file.
with google example code(work): enter image description here
with my local audio archive(doesnt work): enter image description here
i just need to transcribe my audios files into text using google speech-to-text api.
I can't copy your code for replication, But there is readily sample documentation here for your reference.
Sample: