[Icecast] question about <fallback> options

Geoff Shang geoff at QuiteLikely.com
Sat Oct 9 20:53:26 UTC 2010


On Sun, 10 Oct 2010, rw6hrm wrote:

> I use IceCast2_Win32_2.3.2 version (under Win98 lol) and I have one 
> simple question :)  So, my server stay as relay. I have two streams – 
> main, from 172.17.16.34 (for example) and reserve from 219.19.29.98 (for 
> example too). Mount points have same names on both streams. Main task 
> is: if main stream is down, relay should be switched to reserve stream, 
> and, then main stream is up, relay should be switched to main stream. My 
> question: can I use “fallback” option as <fallback-server> in <relay> 
> section? I think config file will be next:

No, you can't do this.   Fallbacks are mount options.  But you could do 
this another way:

    <relay>
        <server>172.17.16.34</server>
        <port>8000</port>
        <mount>/main</mount>
        <local-mount>/main</local-mount>
        <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
    </relay>

    <relay>
        <server>219.19.29.98</server>
        <port>8000</port>
        <mount>/main</mount>
        <local-mount>/reserve</local-mount>
        <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
    </relay>

    <mount>
        <mount-name>/main</mount-name>
        <fallback-mount>/reserve</fallback-mount>
        <fallback-override>1</fallback-override>
    </mount>

HTH,
Geoff.


More information about the Icecast mailing list