| View previous topic :: View next topic |
| Author |
Message |
taelmx
Joined: 24 Nov 2009 Posts: 2
|
Posted: Thu Nov 26, 2009 6:34 am Post subject: Flash and IceCast |
|
|
I have a problem which I'm having a problem...with the problem. I can't quite pinpoint where along it's happening, it's weird.
Here's my situation:
I made a Flash player with support for Asian characters and everything(pain in the ass to do that character support too), and now I get everything working perfectly except one thing.
on here: http://www.kubikdragon.com/newkubik/Radio
if you play it, then stop it, and then try to play it again, it doesn't play it instantly like it should, instead there is a huge lag. My AS3 looks correct, and I'm beginning to think it's server side, but when I test my Flash player in Flash itself using "Test Movie", I don't get this error and it plays great...any suggestions? Is there some sort of timeout that goes on if you stop and rejoin a stream? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Nov 26, 2009 4:45 pm Post subject: |
|
|
huge lag of what exactly? While the trunk code does handle things a little better, if you are talking of many seconds then it won't be down to that. A small burst-size could be a factor or network errors could be an issue.
karl. |
|
| Back to top |
|
 |
taelmx
Joined: 24 Nov 2009 Posts: 2
|
Posted: Thu Nov 26, 2009 7:35 pm Post subject: |
|
|
nvm I figured it out, it turns out it was having problems closing the stream in flash.
Looks like you have to declare the sound var outside of a function, then do soundObject = new Sound();
to clear it. then it closes properly and there is no lag(well like...half a second still, but better than 15 seconds!) |
|
| Back to top |
|
 |
jcr Modérateur français

Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Thu Nov 26, 2009 8:06 pm Post subject: |
|
|
You guess right, Flash issues are not always as easy to solve  _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
| Back to top |
|
 |
|