PDA

View Full Version : Music Radio Streaming -- Memory Leaks fixed?



FizixMan
April 28th, 2007, 08:44 AM
In previous versions of Flash & AS2, you could stream music from an online radio, but Flash had no way of clearing the old music data from memory. This would cause a huge memory leak and ultimately deterred me from developing my radio streamer for my Internet radio site. Do you know if this issue was resolved in CS3? Or of some workaround that's now available?

SmurfMX
April 29th, 2007, 01:07 PM
I'm not sure, you may be able to somehow use a socket to fill a bytearray with the raw data of the stream and somehow get a sound object to accept it then purge the byte array once it reaches a certain size?

Not sure if that's possible though. Andre Michelle has done some very neat experiments creating synths in Flash though.

jeanray
May 24th, 2007, 04:11 AM
This is not answer, but more a question:
I am trying to stream audio from http://212.72.165.26:9386 (ShoutCast, TinManRadio).
When tried on "test movie" in Flash 8, it works.
When tried on "Publish preview, HTML", it does not.
Any idea why?