|
I have made a simple audio streaming test which worked very well on 2.5 and which doesn't work any more on 2.6. Maybe a hint : when I use url of a .ogg file it work perfectly, with a ogg radio (that I can read with firefox 3.5) it doesn't work at all. Here is what i'am doing : public class TestRadio : MonoBehaviour {
} The log always report isplaying = false and isreadytoplay = false in the case of the radio Is there something I make wrong ? Thanks Jrme
(comments are locked)
|
|
Unity does not support endless ogg streams. If this happened to work in 2.5, then it was unintended - however, even there, it would probably cause trouble, as Unity would try to download the stream into memory, which would eventually make it run out of memory. In 2.6, the audio engine has been replaced - we went from OpenAL to FMOD, which has probably resulted in this change. If support for ogg streams is important to you, I suggest you request it as a new feature on http://feedback.unity3d.com.
(comments are locked)
|
|
i came across the same problem, and after nearly 2 hours, i finally solved it. The reason is that you wanna to play the audio before its completely downloaded, you should call audio.Play function like this: ---------------------- And a wrong version like this:
(comments are locked)
|
|
Hum ok I see ... bad news So I have another question : It is the same for Video stream with ogg Theora ? Yes, that should be the same thing.
Nov 26 '09 at 03:20 PM
jonas echterhoff ♦♦
(comments are locked)
|
