Using Google Speech API

前端 未结 2 392
逝去的感伤
逝去的感伤 2020-12-20 10:33

What is the code for implementing the Google Speech API in my C# based application? I found out that it is possible to create an audio file and sent it to http://slides.html

2条回答
  •  忘掉有多难
    2020-12-20 10:42

    The FS_Audiofile filestream you are sending to Google is empty, that's why you are not receiving anything back.

    You are missing this call:

    recognizedAudio.WriteToAudioStream(FS_Audiofile);
    

提交回复
热议问题