What steps will reproduce the problem?
1. Compile and launch this thing in a browser
2. Wait for 3-4 minutes (you can monitor memory usage using Chromes task
manager)
3. At some point when memory usage reaches 170-190 mb sound distortion becomes
obvious, then there comes a drop in memory usage and break in streaming, then
everything starts hanging.
What is the expected output? What do you see instead?
Continuous stream expected without memory leak issue. Stuttering unusable
distorted noise :)
What version of the product are you using? What player environment did you test
in? What version?
Using the latest version of the product, browser - Chrome, Firefox, Flash
10.1.53.64, Windows XP.
Please provide any additional information below.
Here is the code I use:
package
{
import flash.display.Sprite;
import flash.events.Event;
import flash.media.SoundTransform;
import fly.sound.*;
import fly.sound.events.*;
import fly.sound.shoutcast.*;
public class Main extends Sprite
{
public var stream:MP3StreamPlayer = null;
public function Main()
{
stream = new MP3StreamPlayer() ;
stream.addEventListener(Event.COMPLETE, completeHandler);
stream.playStream("stream_url_here");
}
private function completeHandler(e:Event):void
{
var mySoundTransform:SoundTransform = stream.soundChannel.soundTransform;
mySoundTransform.volume = 0.5;
stream.soundChannel.soundTransform = mySoundTransform;
}
}
}
Original issue reported on code.google.com by jaya...@gmail.com on 17 Jul 2010 at 3:31
Original issue reported on code.google.com by
jaya...@gmail.com
on 17 Jul 2010 at 3:31