I try to send audio to AVS but I get 204 blank response. This is my x-amzn-requestid: 0e4f8afffe9b21b8-00000532-0003a3c4-3b92d4b6aa4d5fee-14e9f7f2-39
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Yes it is, i check it with ffprobe
I've confirmed that something is definitely wrong with the audio data you're sending to AVS. It's essentially pure static, which is why you got a 204 response. It does appear to be single channel, 16 kHz, and 16bits. So 2 things to verify:
Here is my recorded audio, let me know if it is correctly encoded, thanks.
That audio data seems correct, though when you send it to AVS, you shouldn't send the WAV header - just the raw PCM. I don't know why the audio data that is sent to AVS is pure static, but the only thing I can think of is that somehow there's a disconnect between the audio data you're recording / reading from (if you're reading from a file) and the actual bytes that are sent to AVS. Can you double check that the audio data isn't getting implicitly converted before being sent to AVS? Can you try saving the entire bytes of the request to AVS to a file and then posting that?
Hi @kpanic Can you please check if the audio input sent is in correct prescribed format i.e
1 Person is following this question.
not receiving alert directive from Amazon but I get the response your alarm has been set.
Audio Streaming Offset is not working
How to send Audio in Multiple part using NGHTTP2 to AVS?
I got request return with 400 code in SpeechRecognizer what's wrong?
streaming audio to AVS to improve unacceptable response time