I am developing an application and I record the user's speech using the phone's microphones, save the recording in a 16 bit PCM encoded .wav file ... just as the documentation says. However when sending to the API I get the following response: {"error": {"code": "BadRequest", "message": "Invalid Audio Format: Not a WAVE file - no RIFF header"}}. I tried setting the header RIFF but was unsuccessful, could anyone help me?
I am developing an application and I record the user's speech using the phone's microphones, save the recording in a 16 bit PCM encoded .wav file ... just as the documentation says. However when sending to the API I get the following response: {"error": {"code": "BadRequest", "message": "Invalid Audio Format: Not a WAVE file - no RIFF header"}}. I tried setting the header RIFF but was unsuccessful, could anyone help me?