0
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-06-30 22:18:19 -04:00

Update: Replaced <on-*connect> with <event-bindings>

This commit is contained in:
Philipp Schafft 2018-09-28 12:31:07 +00:00
parent a81e1345ef
commit 8b2c6bdba0

View File

@ -199,8 +199,15 @@
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
<header name="baz" value="quux" />
</http-headers>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
<event-bindings>
<event type="exec" trigger="source-connect">
<option name="executable" value="/home/icecast/bin/stream-start" />
</event>
<event type="exec" trigger="source-disconnect">
<option name="executable" value="/home/icecast/bin/stream-stop" />
</event>
</event-bindings>
</mount>
-->