jonlab / NewAtlantis

http://www.newatlantis.world/
9 stars 6 forks source link

streaming Audio Sources #29

Open jonlab opened 8 years ago

jonlab commented 8 years ago

I could'nt get an Audio Source to play a stream from the internet (OGG). We try to use the Locus Sonus audio streams, for example one of these : http://locus.creacast.com:9001/

Any volunteers to look at this and provide a working script ?

jonlab commented 8 years ago

I started a few tests in script NAAudioStream (to be attached to an Audio Source).

sachaamm commented 8 years ago

After some tries , I realised I can't download anything from http://locus.creacast.com:9001/ , using the WWW object in a coroutine. Maybe the StreamFiles are too big ?

jonlab commented 8 years ago

This is a streaming, so this is an "infinite file". I know that Unity has some trouble loading them but maybe there is a workaround.

jonlab commented 8 years ago

http://forum.unity3d.com/threads/endless-audio-radio-streaming-in-unity.100564/

benchang02 commented 8 years ago

Just realized some of our students did something last year that might relevant, streaming internet radio stations into unity. I should look at how they did it.

http://radioland.github.io/

rolandcahen commented 8 years ago

super sympa radioland !

On 08 Dec 2015, at 08:00, benchang02 notifications@github.com wrote:

Just realized some of our students did something last year that might relevant, streaming internet radio stations into unity. I should look at how they did it.

http://radioland.github.io/ http://radioland.github.io/ — Reply to this email directly or view it on GitHub https://github.com/jonlab/NewAtlantis/issues/29#issuecomment-162795774.