Do you mean you can relay within a single icecast server instance? So the relay is running on the same icecast process from which it is relaying a stream? KJ -----Oorspronkelijk bericht----- Van: Karl Heyes [mailto:karl@xiph.org] Verzonden: maandag 15 november 2004 22:18 Aan: Klaas Jan Wierenga CC: icecast Onderwerp: Re: FW: [Icecast] Multi-Level Fallbacks On Mon, 2004-11-15 at 20:36, Klaas Jan Wierenga wrote:> Hi, > > I have used the SVN icecast-2.1-trunk version in my production system at > http://audioserver.nl for 2 months now without problems. The fallbackswork> fine as long as you make sure that the format (sampling frequency and > bitrate) of the mount and it's fallback match.samplerate and channels are the main ones to keep the same, not all systems can handle those changing mid stream.> I have also patched the icecast-2.1-trunk version (patch not publishedyet,> needs work to extract) to enable fallback of mulitple mounts to the same > fallback with correct fallback-override. Meaning that if a two clients > connected, one to mount1 with fallback to mount3 and one connects tomount2> also with fallback to mount3, then when the mount1 comes online, only the > mount1 client would be moved back to mount1 and the same for mount2. > > I haven't tested the 2.1.0 release, so I don't know how it behaves whenyou> configure multiple mounts to fallback to the same fallback mount. Anyone > care to comment? > > If there is enough interest I am willing to spend some time to graft the > 2.1-trunk patch onto the 2.1.0 release.The easiest way to separate clients based on originating mountpoints is to use local relays /b relays /a /c relays /a /d fallback to /b /e fallback to /c karl.
On Mon, 2004-11-15 at 21:26, Klaas Jan Wierenga wrote:> Do you mean you can relay within a single icecast server instance? So the > relay is running on the same icecast process from which it is relaying a > stream?sure, just state the IP/port of yourself, and make sure the mountpoints are different. karl.
Hmm, if only I'd know that beforehand, would have saved me some development work. Nevertheless, I got to know the icecast sourcecode a bit better :-). Btw. do you have a similar solution for circular fallbacks? I.e. mountpoint A fallback to B and mountpoint B fallback to A. I tried doing this with the 2.1-trunk code and it didn't work, and I have a one-line patch to make it work OK. If you're interested I can post it, if there is a relay solution than maybe it's not needed. I need this for one of my clients who sometime broadcasts from two locations with different listeners and sometime broadcasts from one location. All listeners should then fallback to whichever mountpoint is active. Cheers, KJ -----Oorspronkelijk bericht----- Van: Karl Heyes [mailto:karl@xiph.org] Verzonden: maandag 15 november 2004 22:39 Aan: Klaas Jan Wierenga CC: icecast Onderwerp: RE: FW: [Icecast] Multi-Level Fallbacks On Mon, 2004-11-15 at 21:26, Klaas Jan Wierenga wrote:> Do you mean you can relay within a single icecast server instance? So the > relay is running on the same icecast process from which it is relaying a > stream?sure, just state the IP/port of yourself, and make sure the mountpoints are different. karl.