Return 'status:error' when post a *.wav file to speech API; the *.wav is recorded by C#- MediaCapture RRS feed

  • Question

  • HI,

          In my demo (copy from sample code), when I post a sample wav file (what's the weather like), it's fine and I got result. But when I post a wav file recorded by MediaCapture (c#) , always return 'status:error' no matter what I said.




           I found the recorded wav file is a little different from the sample wav file. It has a 'Junk' chunk in the head. I don't know whether it is the cause and how to remove it.


       And more , Can someone provide a sample using 'Chunked Transfer-Encoding' for stream the audio to service? Appreciate your help.

    Friday, September 11, 2015 8:44 AM