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 

Disabling source-timeout ?

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





PostPosted: Thu Jan 04, 2007 7:35 pm    Post subject: Disabling source-timeout ? Reply with quote

Hello,

For some reason (i explain below), i need to completely disable the <source-timeout> parameter in IceCast config file. I tried to put the value to 0, -1, or i tried to comment the whole line, and that does not work ...

is there actually a way to do that ?

The reason is that the icecast servser is feeded from a VLC source which takes its own source from a shoutcast server that o configured to NOT drop clients when its source disconnects. But well, when the shoutcast source drops, VLC stay connected, but does not send anything to the ice cast server, and icecast closes the connexion. When the shoutcast source comes online again, VLC doesn't really love the fact that its connexion to the icecast server was dropped Shocked

Thanks for any help.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jan 04, 2007 9:42 pm    Post subject: Reply with quote

You could put in some huge number if you really want that, but as a general rule we drop connections because it's better to do so, you can of course use a fallback mount.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Thu Jan 04, 2007 11:51 pm    Post subject: Reply with quote

yup .. i modified the get_next_buffer() function in source.c to disable the whole timeout thing, and well it worked for what i wanted to do: the sound come back on the players connected to icecast when the shoutcast source come back online, but there is a strange little "cut" which comes periodically in the stream after that.

I think i'll try your suggestion, after all it must have been made for that :]

Actually i wanted shoutcast + icecast just to be referenced on the shoutcast YP + icecast YP.

Thanks again
Back to top
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