Lex chatbot C# client with voice

前端 未结 1 1147
北恋
北恋 2020-12-19 23:11

I have the chatbot client running with text but would now like to change it to voice but I am unsure of how to get the stream from the mic for post. For recording audio I am

相关标签:
1条回答
  • 2020-12-19 23:22

    You have to set the Position of your MemoryStream to 0 before you pass it to the post request.

    memoryStream.Position = 0;
    
    0 讨论(0)
提交回复
热议问题