<div>The relaying-configuration seems to be straight-forward, unfortunately it does not work. That's my configuration:<br></div><div><br></div><div> <relays-on-demand>1</relays-on-demand><br><br> <relay><br>
<server><a href="http://mp3stream7.apasf.apa.at">http://mp3stream7.apasf.apa.at</a></server><br> <port>8000</port><br> <mount>/</mount><br> <local-mount>/oe3.mp3</local-mount><br>
<on-demand>1</on-demand><br><br> <relay-shoutcast-metadata>0</relay-shoutcast-metadata><br> </relay><br></div><div><br></div><div>And that's what the error log says:</div>
<div><br></div><div>[2013-02-20 17:56:19] INFO connection/get_ssl_certificate No SSL capability<br>[2013-02-20 17:56:20] DBUG slave/_slave_thread checking master stream list<br>[2013-02-20 17:56:20] DBUG slave/check_relay_stream Adding relay source at mountpoint "/oe3.mp3"<br>
[2013-02-20 17:56:21] DBUG slave/_slave_thread checking master stream list<br>[2013-02-20 17:56:37] DBUG auth/add_listener_to_source max on /oe3.mp3 is -1 (cur 0)<br>[2013-02-20 17:56:37] DBUG auth/add_listener_to_source kicking off on-demand relay<br>
[2013-02-20 17:56:37] DBUG auth/add_listener_to_source Added client to /oe3.mp3<br>[2013-02-20 17:56:37] DBUG auth/add_authenticated_listener client authenticated, passed to source<br>[2013-02-20 17:56:37] DBUG stats/modify_node_event update node clients (1)<br>
[2013-02-20 17:56:37] DBUG stats/modify_node_event update node connections (1)<br>[2013-02-20 17:56:37] DBUG stats/modify_node_event update node client_connections (1)<br>[2013-02-20 17:56:38] INFO slave/start_relay_stream Starting relayed source at mountpoint "/oe3.mp3"<br>
[2013-02-20 17:56:38] INFO slave/open_relay_connection connecting to <a href="http://mp3stream7.apasf.apa.at:8000">http://mp3stream7.apasf.apa.at:8000</a><br>[2013-02-20 17:56:38] WARN slave/open_relay_connection Failed to connect to <a href="http://mp3stream7.apasf.apa.at:8000">http://mp3stream7.apasf.apa.at:8000</a><br>
[2013-02-20 17:56:38] DBUG source/source_clear_source clearing source "/oe3.mp3"<br></div><div><br></div><div>When I'm doing a plain, simple </div><div><br></div><div>wget <a href="http://mp3stream7.apasf.apa.at">http://mp3stream7.apasf.apa.at</a></div>
<div><br></div><div>the stream is downloaded properly. Any Ideas what I'm doing wrong here?</div><div><br></div><div>Thanks!</div><div><br></div><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 11:07 AM, Rücker Thomas <span dir="ltr"><<a href="mailto:thomas.ruecker@tieto.com" target="_blank">thomas.ruecker@tieto.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<div><br>
<br>
On 20/02/13 11:38, Mike Thompsett wrote:<br>
</div></div><div>
<blockquote type="cite">
<div>Hi All,</div>
<div><br>
</div>
<div>Will this also bounce new connections to the relay server
once the master server is maxed out?</div>
</blockquote>
<br></div>
So far we haven't done anything in this area. Also because I'd
consider this to be outside of core icecast scope. (I won't oppose
patches, though)<br>
The basic approach is round-robin DNS, which should give you an even
distribution across servers.<br>
If that's not your intention, then you can use a simple
http-redirect with some business logic behind that to account for
distribution ratio or geo-ip distribution. I think I've seen such a
script on git-hub even.<br>
<br>
Cheers<span><font color="#888888"><br>
<br>
Thomas</font></span><div><div><br>
<br>
<blockquote type="cite">
<div>Regards,</div>
<div>Mike</div>
<div><br>
On 20 Feb 2013, at 07:53, Xabier Oneca -- xOneca <<a href="mailto:xoneca+icecast@gmail.com" target="_blank">xoneca+icecast@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<p>You have (little) documentation at<br>
<a href="Http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#relay" target="_blank">Http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#relay</a></p>
<p>Xabier Oneca_,,_</p>
<div class="gmail_quote">El 20/02/2013 08:48, "Xabier Oneca --
xOneca" <<a href="mailto:xoneca%2Bicecast@gmail.com" target="_blank">xoneca+icecast@gmail.com</a>>
escribió:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>You can set globally with the
<relays-on-demand>1</relays-on-demand> in
the global <icecast/> section, or you can
configure per-relay with <on-demand>.</p>
<p>You can find it in the sample config file. (Does not
say much more.)</p>
<p>Xabier Oneca_,,_</p>
<div class="gmail_quote">El 20/02/2013 08:39, "Satz
Klauer" <<a href="mailto:satzklauer@googlemail.com" target="_blank">satzklauer@googlemail.com</a>>
escribió:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, but which parameter influences this behaviour?
I could not find anything in description of relaying
parameters...<br>
<br>
<div class="gmail_quote">On Wed, Feb 20, 2013 at 8:30
AM, Xabier Oneca -- xOneca <span dir="ltr"><<a href="mailto:xoneca+icecast@gmail.com" target="_blank">xoneca+icecast@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Hello Satz,</p>
<p>You can configure that behavior from the config
file.</p>
<p>Xabier Oneca_,,_</p>
<div class="gmail_quote">El 20/02/2013 07:58,
"Satz Klauer" <<a href="mailto:satzklauer@googlemail.com" target="_blank">satzklauer@googlemail.com</a>>
escribió:<br type="attribution">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
Hi,
<div><br>
</div>
<div>I found there is a possibility to let
IceCast relay other, existing streams.
But how is it working exactly when no
clients are connected to my relay
server:</div>
<div><br>
</div>
<div>- is it going to stand-by and not
streaming andy data from the source</div>
<div><br>
</div>
<div>or</div>
<div><br>
</div>
<div>- is it pulling data from the source
all the time also when no client is
available that could consume this
stream? This would mean the relay would
consume traffic and bandwidth also when
nobody will use it...</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
<br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
<br>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Icecast mailing list</span><br>
<span><a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a></span><br>
<span><a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a></span><br>
</div>
</blockquote>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
<br></blockquote></div><br>