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 

update-interval for relay tag?

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



Joined: 02 Jun 2009
Posts: 16

PostPosted: Wed Mar 17, 2010 12:39 am    Post subject: update-interval for relay tag? Reply with quote

I am running Icecast 2.3.2 KH-21a with a master-update-interval of 5 seconds and am using <relay> tags for each individual stream.

This works well as a general rule for the server, however I have a few specific mountpoints that I would like to have an update-interval of 1 second. Is it possible to do something like this?

<relay>
<local-mount>/mount.ogg</local-mount>
<username>relay</username>
<password>password</password>
<mount>/admin/streams?mount=/mount.ogg</mount>
<on-demand>0</on-demand>
<master>
<server>IP</server>
<port>8000</port>
</master>

<update-interval>1</update-interval>
</relay>

?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Mar 17, 2010 1:18 am    Post subject: Reply with quote

add <retry-delay>1</retry-delay> to <relay>

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



Joined: 02 Jun 2009
Posts: 16

PostPosted: Wed Mar 17, 2010 3:09 am    Post subject: Reply with quote

Great, thanks that works well.

I have one more question about relays. I am seeing this occasionally in the logs:

[2010-03-16 11:01:32] INFO source/source_shutdown Source "/mount.aac" exiting
[2010-03-16 11:01:32] INFO slave/relay_read standing by to restart relay on /mount.aac

What does the "standing by to restart relay" mean? Why does it happen and what causes it to occur?

Thanks!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Mar 17, 2010 3:37 am    Post subject: Reply with quote

The source has shut down, so icecast is about to restart the connection to the relay. As to why the source shut down, you would have to check earlier in the log, examples are source timeout or master closed the connection.

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 -> 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