| View previous topic :: View next topic |
| Author |
Message |
humanclay
Joined: 02 Jun 2009 Posts: 16
|
Posted: Wed Mar 17, 2010 12:39 am Post subject: update-interval for relay tag? |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Mar 17, 2010 1:18 am Post subject: |
|
|
add <retry-delay>1</retry-delay> to <relay>
karl. |
|
| Back to top |
|
 |
humanclay
Joined: 02 Jun 2009 Posts: 16
|
Posted: Wed Mar 17, 2010 3:09 am Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Mar 17, 2010 3:37 am Post subject: |
|
|
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 |
|
 |
|