Requires Unity 5.3.5 or higher.
AudioStream provides proper audio streaming support for Unity - mainly for mobile platforms and the Editor, where there is official support lacking a bit currently.
It uses the low level API of FMOD Studio directly thus providing seamless and very low profile streaming experience during indefinitely long periods of time.
AudioStream can stream:
- internet radios M3U/8 and PLS playlists with tags support
- audio files hosted on the internet/cloud such as podcasts
- local audio files on a regular filesystem (according to platform)
- for list of supported formats see formats FMOD recognizes (see e.g. Wikipedia)
Compatible with all other audio packages when using standard AudioSource Unity component.
Corresponding AudioSource can be used as normal including spatialization, effecting and mixer routing.
Runs almost on all platforms Unity currently has audio support for, at the time being tested on Windows, OS X and mobiles - iOS and Android and due to its ability to bypass Unity's own audio system it can play audio independently and works seamlessly in the editor with zero GC allocs at runtime.
Provides easy scripting access simplifying playing an networked audio source.
Apart from streaming it also provides advanced features extending Unity's interaction with various audio streams: (*)
- AudioSourceOutputDevice component enables redirection of audio output of any AudioSource to any audio output device present in the system - not just the default one Unity uses for its audio playback.
- *NEW* AudioSourceInput provides access to any audio input device present in the system, including arbitrary microphones and LineIn inputs.
Included demo scenes shows how to use each respective component.
* All source code is included.
Support forum
Using FMOD Studio by Firelight Technologies
NOTE: Agreement to FMOD EULA as per required before downloading the FMOD Unity package (they have very friendly indie policy though).
(*) Consider audio routing - the AudioSourceOutputDevice component - a desktop class feature - meaning that it does not work on mobile platforms out of the box, and not without necessary further customisation.
–––––––––-
Submitted with Unity version 5.3.5 which is recommended minimal version for mobiles, any earlier version starting with 5.0 should be OK for standalone.