<div dir="ltr"><div>My listeners connect to a publicly accessible Icecast server with the config below. Between broadcasts it uses a fallback mp3, which loops. During broadcasts it relays from a local Icecast server that I broadcast to (config also below). I am aiming for approx 30-45 seconds buffering, as the connection from public to local icecast server is 'less than ideal'.</div>
<div><br></div><div>The set up is working fine except that if someone connects just before the broadcast starts, then it appears the fallback file (approx 2.5min) is queued multiple times, and the delay I've seen can be between 8 and 30 minutes. If they connect just after then the they listen approx 30-45 seconds behind real time as intended. I'd really appreciate any pointers on where to look into this: is it an Icecast issue (I cant see why) or a player issue (harder to control, although I can recommend).</div>
<div><br></div><div>Any advice much appreciated.</div><div><br></div><div>Thanks</div><div><br></div><div>Nathan</div><div><br></div><div><b>Public Icecast server v 2.3.3 config (extract)</b></div><div><br></div><div>    <limits></div>
<div>        <clients>50</clients></div><div>        <sources>2</sources></div><div>        <threadpool>5</threadpool></div><div>        <queue-size>1048576</queue-size></div>
<div>        <client-timeout>60</client-timeout></div><div>        <header-timeout>15</header-timeout></div><div>        <source-timeout>45</source-timeout></div><div>        <burst-size>65535</burst-size></div>
<div>    </limits></div><div><br></div><div>    <relay></div><div>        <server><a href="http://myurl.com">myurl.com</a></server></div><div>        <port>8000</port></div><div>        <mount>/dores</mount></div>
<div>        <username>relay</username></div><div>        <password>redacted</password></div><div>        <local-mount>/dores</local-mount></div><div>        <on-demand>1</on-demand></div>
<div>        <relay-shoutcast-metadata>0</relay-shoutcast-metadata></div><div>    </relay></div><div><br></div><div>    <mount></div><div>        <mount-name>/dores</mount-name></div><div>
        <max-listeners>15</max-listeners></div><div>        <dump-file>/var/log/icecast/dores-dump.mp3</dump-file></div><div>        <burst-size>65536</burst-size></div><div>        <fallback-mount>/relayfallback.mp3</fallback-mount></div>
<div>        <fallback-override>1</fallback-override></div><div>        <fallback-when-full>0</fallback-when-full></div><div>        <hidden>1</hidden></div><div>        <no-yp>1</no-yp></div>
<div>    </mount></div><div>    </div><div><b>Local Icecast server config (extract):</b></div><div><br></div><div>    <limits></div><div>        <clients>100</clients></div><div>        <sources>2</sources></div>
<div>        <threadpool>5</threadpool></div><div>        <queue-size>524288</queue-size></div><div>        <client-timeout>30</client-timeout></div><div>        <header-timeout>15</header-timeout></div>
<div>        <source-timeout>30</source-timeout></div><div>        <burst-on-connect>1</burst-on-connect></div><div>        <burst-size>65535</burst-size></div><div>    </limits></div>
<div><br></div><div>    <mount></div><div>        <mount-name>/dores</mount-name></div><div>        <max-listeners>3</max-listeners></div><div>        <dump-file>/usr/local/var/log/icecast/dores-dump.mp3</dump-file></div>
<div>        <burst-size>65536</burst-size></div><div>        <hidden>1</hidden></div><div>        <no-yp>1</no-yp></div><div>        <authentication type="htpasswd"></div>
<div>                <option name="filename" value="/usr/local/share/icecast/myauth"/></div><div>                <option name="allow_duplicate_users" value="1"/></div><div>
        </authentication></div><div><br></div><div>    </mount></div><div><br></div></div>