Web radio playing inside unity?


Is it possible to listen web radio http://xxx.xxx.xxx.xxx:80 inside unity?

Thank you.

I don't think it is possible in Unity 2.6 and it certainly won't be possible for Web players in Unity 3 as Unity 3 introduces policies so that you'll have to have a policy file on the server you want to stream from - otherwise, you won't be allowed to connect to that server (it's a security feature meant to prevent evil Web players to get data they're not meant to be able to get).

Of course, it's not completely impossible: You could have a server that gets the streams for you and that might even convert them into a format that Unity could read.

You can stream ogg, see also: Unity Features - Audio & Video, WWW.audioClip WWW.oggVorbis

For everyone ending up here: