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 

<master-update-interval> for Specific Mountpoint Relay

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Thu May 08, 2008 8:34 pm    Post subject: <master-update-interval> for Specific Mountpoint Relay Reply with quote

How often does the Relay Server poll the Master Server for the availability of the mountpoints to relay Specific Mountpoints? Both Master and Slave IceCast. Is there a <master-update-interval> setting for for Specific Mountpoint Relays?

Because I've seen that If I disconnect the source client from the master server, naturally the stream stops. If I reconnect the source client to the master, it will take about 2 minutes for the relay to be aware of it, and until then the players get rejected with NotAvailable. If I set <on demand> to 1 it works immediately, but that has other side effects I dislike (if no listener connected, no current song info on status.xsl, etc).
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 May 08, 2008 9:28 pm    Post subject: Reply with quote

The <master-update-interval> default is 120 secs, and it's the global interval setting for rechecking the streamlist on the master server. There is no per-relay setting although I do have one in -kh which chould merge easy enough.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Fri May 09, 2008 5:45 am    Post subject: Reply with quote

karlH wrote:
The <master-update-interval> default is 120 secs, and it's the global interval setting for rechecking the streamlist on the master server.
Does this apply to Master Relay only, or to Specific Mountpoint Relays too? I've set <master-update-interval> to 30, but it definitely didn't reconnect the specific streams from the master after 30 secs.

karlH wrote:
There is no per-relay setting although I do have one in -kh which chould merge easy enough.
It would be nice to have it.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 09, 2008 1:32 pm    Post subject: Reply with quote

<master-update-interval> is used for the interval for all relays. The Post 2.3.1 code handles relay cases better but whether that will affect the 30 secs you make reference to I don't know. The error log will show more info for such things.

I'll look into the retry interval for <relay> which takes <master-update-interval> as the default.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches 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