...

Air/Flex: Stuttering mp3 audio stream

ranzassel
07-11-2009, 06:47 PM
Hi all,

I am new to Flex and just started developing a small app including audio streaming. So I am using the following code:

var s:Sound = new Sound();
var req:URLRequest = new URLRequest("http://62.75.132.19:80;Stream.mp3");
var context:SoundLoaderContext = new SoundLoaderContext(1600, false);
s.load(req, context);
s.play();

I had some test streams and everything worked fine. Now I wanted to listen to my favourite stream (the one you see in my code: http://62.75.132.19:80) and it starts with massively stuttering. So I played arround with the bufferlimits but nothing helps.

What makes me crazy, is that I can listen perfectly to the stream by using WMP, VLC and the flash-based player on the radiostations' website. I also downloaded another flash based player... and this works perfectly too.

So, in the end.... it must have something to do with Flex/Air and my code (the code of a flex beginner :p).

Can anybody help?? How can I get this working?

Thanx in advance for every help.

Cheers,
r.

nikos101
09-22-2009, 10:40 AM
Interesting for me also

seco
09-22-2009, 01:03 PM
look up buffering.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum