[icecast] Keeping icecast from kicking clients

harvey smith harvey at buskers.org
Sat Mar 31 17:12:33 PST 2001



I have not been able to do this with the Default stream. My expirience was
that if the default stream dies clients listening to it get kicked no
matter what the settings. I have worked around this by using the modify
command to set another stream as delault before shutting the old default
stream down and this would then move those clients to the new default
stream. In you situation though it sound like you will like to have the
clients actually listening to nothing and not be moved to another
stream. the only thing I can think that you might want to try would be
setting the client_timeout  to something very high like:

client_timeout 86400

note: kick_clients shouldn't apply because client_timeout > 0
      mount_fallback  I think only applies when the client is first
connecting, but doesn't effect already connected clients.

I haven't tried this very large client_timeout idea myself so I'm not
promising it will work. just something to try

Harvey

On Sat, 31 Mar 2001, Sean /The RIMBoy/ wrote:

> I'm trying to setup Icecast so that clients can stay connected
> indefinately.  Basically sources will connect on occasion, but may
> disconnect until they get instructions to connect again (think about a
> jukebox that does not play music until something is selected.  Now add in
> distrubuted, thin clients and you realize why this is an important
> feature).
> 
> According to the icecast authors, it is possible to do this.  However, I
> have yet to make it or see it work.  Clients are immediately kicked by
> Icecast (1.3.10) and get a 404 not found.  I saw this same response in
> 1.3.7.
> 
> Anyway, here are the iterations of icecast.conf files that I've
> tried:
> 
> Attempt 1
> 
> location Uranus
> rp_email you at your.com
> server_url www.your.com
> hostname 192.168.1.147
> port 8000
> port 8001
> server_name 192.168.1.147
> acl_policy 0
> deny all *
> allow all 192.168.1.*
> max_clients 10
> max_clients_per_source 10
> max_sources 5
> max_admins 5
> throttle 10
> console_mode 0
> reverse_lookups 0
> 
> Attempt 2
> 
> location Uranus
> rp_email you at your.com
> server_url www.your.com
> hostname 192.168.1.147
> port 8000
> port 8001
> server_name 192.168.1.147
> client_timeout -1
> acl_policy 0
> deny all *
> allow all 192.168.1.*
> max_clients 10
> max_clients_per_source 10
> max_sources 5
> max_admins 5
> throttle 10
> console_mode 0
> reverse_lookups 0 
> 
> Attempt 3
> 
> location Uranus
> rp_email you at your.com
> server_url www.your.com
> hostname 192.168.1.147
> port 8000
> port 8001
> server_name 192.168.1.147
> client_timeout -1
> kick_clients 0
> mount_fallback 1
> acl_policy 0
> deny all *
> allow all 192.168.1.*
> max_clients 10
> max_clients_per_source 10
> max_sources 5
> max_admins 5
> throttle 10
> console_mode 0
> reverse_lookups 0 
> 
> Sean...
> 
> 

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list