[Icecast] Relaying with Icecast - stand-by or active all the time?

Rücker Thomas thomas.ruecker at tieto.com
Wed Feb 20 02:07:33 PST 2013


Hi,

On 20/02/13 11:38, Mike Thompsett wrote:
> Hi All,
>
> Will this also bounce new connections to the relay server once the 
> master server is maxed out?

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)
The basic approach is round-robin DNS, which should give you an even 
distribution across servers.
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.

Cheers

Thomas

> Regards,
> Mike
>
> On 20 Feb 2013, at 07:53, Xabier Oneca  --  xOneca 
> <xoneca+icecast at gmail.com <mailto:xoneca+icecast at gmail.com>> wrote:
>
>> You have (little) documentation at
>> Http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#relay
>>
>> Xabier Oneca_,,_
>>
>> El 20/02/2013 08:48, "Xabier Oneca -- xOneca" 
>> <xoneca+icecast at gmail.com <mailto:xoneca%2Bicecast at gmail.com>> escribió:
>>
>>     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>.
>>
>>     You can find it in the sample config file. (Does not say much more.)
>>
>>     Xabier Oneca_,,_
>>
>>     El 20/02/2013 08:39, "Satz Klauer" <satzklauer at googlemail.com
>>     <mailto:satzklauer at googlemail.com>> escribió:
>>
>>         Thanks, but which parameter influences this behaviour? I
>>         could not find anything in description of relaying parameters...
>>
>>         On Wed, Feb 20, 2013 at 8:30 AM, Xabier Oneca -- xOneca
>>         <xoneca+icecast at gmail.com <mailto:xoneca+icecast at gmail.com>>
>>         wrote:
>>
>>             Hello Satz,
>>
>>             You can configure that behavior from the config file.
>>
>>             Xabier Oneca_,,_
>>
>>             El 20/02/2013 07:58, "Satz Klauer"
>>             <satzklauer at googlemail.com
>>             <mailto:satzklauer at googlemail.com>> escribió:
>>
>>                 Hi,
>>
>>                 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:
>>
>>                 - is it going to stand-by and not streaming andy data
>>                 from the source
>>
>>                 or
>>
>>                 - 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...
>>
>>                 Thanks!
>>
>>
>>                 _______________________________________________
>>                 Icecast mailing list
>>                 Icecast at xiph.org <mailto:Icecast at xiph.org>
>>                 http://lists.xiph.org/mailman/listinfo/icecast
>>
>>
>>
>>         _______________________________________________
>>         Icecast mailing list
>>         Icecast at xiph.org <mailto:Icecast at xiph.org>
>>         http://lists.xiph.org/mailman/listinfo/icecast
>>
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org <mailto:Icecast at xiph.org>
>> http://lists.xiph.org/mailman/listinfo/icecast

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast/attachments/20130220/d34017a1/attachment.htm 


More information about the Icecast mailing list