Azure-Cognitive-Services
Azure-Cognitive-Services copied to clipboard
Compilation Error Related to No Overload Version (zure.API3.Speech.SpeechToText)
[dcc64 Error] Azure.API3.Speech.SpeechToText.pas(100): E2250 There is no overloaded version of 'AddBody' that can be called with these arguments
Reverting line 100 from: RESTRequest.AddBody(AInputStream, 'audio/wave');
Back to the most recent changelog, and to: RESTRequest.Body.JSONWriter.WriteRaw(TStringStream(AInputStream).DataString);
Resolves the issue.