Trying to send audio recorded by Expo to Azure Speech to Text API #26066
Unanswered
Rodrigo-N-Duarte
asked this question in
Archived: Questions
Replies: 1 comment
-
Hi @Rodrigo-N-Duarte , Is your problem solved? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to send an audio saved by expo-av to the Microsoft Azure speech to text api, in this function I receive the uri and search for the audio using it in base64, after that I transform it into binary with the buffer and then send it in the request . The answer is always the same, a 200 OK that everything went fine but the displayText, which is the audio recognition property, always comes as an empty string "". This method send my request:
I believe the problem is in the buffer sent, since expo does not have the functionality to read binary files, which requires conversion
Beta Was this translation helpful? Give feedback.
All reactions