Hi,
My goal is to sample and upload audio data to an external server. I am getting audio through the sampler API and uploading the chunks to my agent as they come in. These are in blob format. The agent collects them appends them to a server-side blob that is the full audio sample. Once I stop sampling, I need to send that binary audio data in the blob to an external server, where I will download it and attempt to play it back, to verify the audio was captured correctly. Eventually it will be sent as part of a larger set of data to an external server.
Looking at the capabilities of the agent, I don’t see any way to do this other than manually convert the blob to an encoded string of some kind. The http.post API takes strings for the body, and gives an error if I feed it a blob. I see on the forums that base64 encoding, etc. is expected in the near future. What are my best options right now?