Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Flash and IceCast

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
taelmx



Joined: 24 Nov 2009
Posts: 2

PostPosted: Thu Nov 26, 2009 6:34 am    Post subject: Flash and IceCast Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Nov 26, 2009 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
taelmx



Joined: 24 Nov 2009
Posts: 2

PostPosted: Thu Nov 26, 2009 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Thu Nov 26, 2009 8:06 pm    Post subject: Reply with quote

You guess right, Flash issues are not always as easy to solve Smile
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber