[Icecast] fallback time

Stéphane Péron stephane.peron at anaximandre.com
Mon Mar 14 16:39:28 UTC 2005


Hi
I have an icecast server that relay a remote stream, with a local 
fallback mountpoint. When I unplug the network cable (just for test), 
icecast falls back to the local mountpoint after a few seconds. When I 
re-plug, I have to wait 1or 2 minutes before moving back to the remote 
stream. Why is it so long ?
I'm using the default parameters, with a 128 kbps stream.

<icecast>
     <limits>
         <clients>100</clients>
         <sources>2</sources>
         <threadpool>5</threadpool>
         <queue-size>102400</queue-size>
         <client-timeout>30</client-timeout>
         <header-timeout>15</header-timeout>
         <source-timeout>10</source-timeout>
         <burst-size>65535</burst-size>
     </limits>

     <hostname>localhost</hostname>
     <listen-socket>
         <port>8000</port>
     </listen-socket>

     <mount>
         <mount-name>/arvorig</mount-name>
         <fallback-mount>/secours</fallback-mount>
         <fallback-override>1</fallback-override>
         <authentication type="htpasswd">
                 <option name="filename" 
value="/usr/local/share/icecast/myauth"/>
                 <option name="allow_duplicate_users" value="0"/>
         </authentication>
     </mount>

      <relay>
         <server>192.128.0.41</server>
         <port>8000</port>
         <mount>/arvorig</mount>
         <local-mount>/arvorig</local-mount>
         <username>********</username>
         <password>********</password>
         <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
     </relay>

     <mount>
         <mount-name>/secours</mount-name>
         <authentication type="htpasswd">
                 <option name="filename" 
value="/usr/local/share/icecast/myauth"/>
                 <option name="allow_duplicate_users" value="0"/>
         </authentication>
     </mount>
     <fileserve>1</fileserve>
</icecast>

Stephane





More information about the Icecast mailing list