mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-06-30 22:18:19 -04:00
Update: Updated examples for relays
This commit is contained in:
parent
0f3e8ac160
commit
a81e1345ef
@ -113,18 +113,43 @@
|
|||||||
The default is false -->
|
The default is false -->
|
||||||
<!--<relays-on-demand>true</relays-on-demand>-->
|
<!--<relays-on-demand>true</relays-on-demand>-->
|
||||||
|
|
||||||
|
<!-- Basic relay with one upstream server -->
|
||||||
<!--
|
<!--
|
||||||
<relay>
|
<relay>
|
||||||
<server>127.0.0.1</server>
|
|
||||||
<port>8080</port>
|
|
||||||
<mount>/example.ogg</mount>
|
|
||||||
<local-mount>/different.ogg</local-mount>
|
<local-mount>/different.ogg</local-mount>
|
||||||
<on-demand>false</on-demand>
|
<on-demand>false</on-demand>
|
||||||
|
|
||||||
<relay-shoutcast-metadata>false</relay-shoutcast-metadata>
|
<upstream type="normal">
|
||||||
|
<server>127.0.0.1</server>
|
||||||
|
<port>8080</port>
|
||||||
|
<mount>/example.ogg</mount>
|
||||||
|
<relay-shoutcast-metadata>false</relay-shoutcast-metadata>
|
||||||
|
</upstream>
|
||||||
</relay>
|
</relay>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!-- Relay with multiple upstream servers and default settings -->
|
||||||
|
<!--
|
||||||
|
<relay>
|
||||||
|
<local-mount>/different.ogg</local-mount>
|
||||||
|
<on-demand>false</on-demand>
|
||||||
|
|
||||||
|
<upstream type="normal">
|
||||||
|
<server>master0.example.org</server>
|
||||||
|
</upstream>
|
||||||
|
<upstream type="normal">
|
||||||
|
<server>master1.example.org</server>
|
||||||
|
</upstream>
|
||||||
|
<upstream type="normal">
|
||||||
|
<server>master2.example.org</server>
|
||||||
|
<port>8080</port>
|
||||||
|
</upstream>
|
||||||
|
<upstream type="default">
|
||||||
|
<port>8000</port>
|
||||||
|
<mount>/example.ogg</mount>
|
||||||
|
</upstream>
|
||||||
|
</relay>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- Mountpoints
|
<!-- Mountpoints
|
||||||
Only define <mount> sections if you want to use advanced options,
|
Only define <mount> sections if you want to use advanced options,
|
||||||
@ -193,6 +218,20 @@
|
|||||||
</mount>
|
</mount>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!-- Relays can also go into a <mount type="normal"> section -->
|
||||||
|
<!--
|
||||||
|
<mount type="normal">
|
||||||
|
<mount-name>/auth_example.ogg</mount-name>
|
||||||
|
<relay>
|
||||||
|
<upstream type="normal">
|
||||||
|
<server>master0.example.org</server>
|
||||||
|
<port>8000</port>
|
||||||
|
<mount>/example.ogg</mount>
|
||||||
|
</upstream>
|
||||||
|
</relay>
|
||||||
|
</mount>
|
||||||
|
-->
|
||||||
|
|
||||||
<paths>
|
<paths>
|
||||||
<!-- basedir is only used if chroot is enabled -->
|
<!-- basedir is only used if chroot is enabled -->
|
||||||
<basedir>@pkgdatadir@</basedir>
|
<basedir>@pkgdatadir@</basedir>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user