I was able to use the UnityEngine “Microphone” class to get AudioClip. I want to POST this audio data, ideally stream it, to a RESTful API like Bing Speech Recognition: https://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/API-Reference-REST/BingVoiceRecognition. Have no idea how to get the binary data of the audio and stream it to this endpoint. Any help would be greatly appreciated!!! Thanks!
Bump from the dead, but I’m having the same sort of issue.
Just spitballing here, but would it be possible to sort of cheat it by using a voice chat system (i.e Photon Voice) and setting up sender and receiver, sender being the user and the receiver being a server hosting the API?