How to convert the binary obtained from the server into a playable Data type? #578
Labels
kind/support
Adopter support requests.
status/triage
Collecting information required to triage the issue.
Question
When I use URLSession, there are many examples,butI looked at the official example, didn't find how to convert the binary downloaded from the server into a data structure that can be used by AudioPlayer.
When I printed out audio_mpeg, I found that it is of type OpenAPIRuntime.HTTPBody.
How can I convert OpenAPIRuntime.HTTPBody type to be used by AudioPlayer?
The text was updated successfully, but these errors were encountered: