- Home /
How to stream .mp3 from computer.
Ok, so I know this question has been asked alot. I have spent the past 2 hours reading posts about it and trying to figure it out. However I cannot seem to find any posts that are clear and makes sense to me.
I have my program able to use .wav and .ogg from the hard drive, so I know how to do that. It is just the mp3 format that is the issue.
I understand that the basics of what needs to happen is to grab the mp3 data, decode the mp3, create a new audio file from that data, and then put it into the audio source.
I see alot of posts of "Download this plugin and it will work." however im not quite sure how to use those plugins or they throw errors at me because files are missing.
If anyone could give me a comprehensive answer, or point me to an existing one, to help me understand the full process it would be greatly appreciated. For some reason I am just not able to wrap my head around all of this.
Answer by Rouge Digital · Jul 05, 2016 at 06:33 AM
I maid an Asset play mp3 files, it works on Win, Max, Linux, iOS, android...
It works for local files and web streams.
This will play your songs and decode them into a unity audiosource.
Asset - uAudio: Mp3 Player/Streamer
Your answer
Follow this Question
Related Questions
Scene bundles loadable in Standalone? 2 Answers
can't load music (wav and mp3 ) on android but the code works fine in editor and window build 0 Answers
Mp3 Streaming on android 1 Answer
why mp3 can't work on web/standalone? 2 Answers
AudioClip "Stream from disc" does not work in standalone apps 0 Answers