karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
297 stars 105 forks source link

Question about redirects #401

Open ivellios1988 opened 1 year ago

ivellios1988 commented 1 year ago

I'd like to be able to redirect my listeners from one Icecast server to another in case all slots are full.

I tried methods described here: https://icecast.imux.net/viewtopic.php?p=22435&sid=22b24b9065a1df7a1a3d301127cb93ea#22435

When I try to apply to all mountpoints (not per-mountpoint) it doesn't work, instead, it throws a 403 error message when slots are full and another listener tries to connect.

Any ideas?

gunsar commented 1 year ago

Are you not trying to add the client to be the highest? For example to become <Clients>65535</Clients> I think this is very much for listeners. What is the highest on your server peak client listening? I have never tried it to redirect many servers, because my listener is only a little for listeners of some friends and only for experiments.

Examples of Redirect Master you can see in the example at this link https://github.com/karlheyes/icecast-kh/blob/master/examples/icecast.xml