mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
updated docs, added additional POST data, see #1422
svn path=/icecast/trunk/icecast/; revision=18801
This commit is contained in:
parent
1f833eb244
commit
3215c47aa3
@ -125,7 +125,7 @@ unless the auth server sends back a response header which may be stated in the '
|
||||
</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=listener_add&server=myserver.com&port=8000&client=1&mount=/live&user=&pass=&ip=127.0.0.1&agent="My%20player"
|
||||
action=listener_add&server=myserver.com&port=8000&client=1&mount=/live&user=&pass=&ip=127.0.0.1&agent=My%20player
|
||||
</pre>
|
||||
<p>There are more details with this, client is the unique ID for the client within icecast,
|
||||
user and pass may be blank but come from the HTTP basic auth that the listener states, ip
|
||||
@ -138,7 +138,7 @@ note that each option data is escaped before being passed via POST
|
||||
<p>This URL is for when a listener connection closes.</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=listener_remove&server=myserver.com&port=8000&client=1&mount=/live&user=&pass=&duration=3600
|
||||
action=listener_remove&server=myserver.com&port=8000&client=1&mount=/live&user=&pass=&duration=3600&ip=127.0.0.1&agent=My%20player
|
||||
</pre>
|
||||
<p>Again this is similar to the add option, the difference being that a duration is passed
|
||||
reflecting the number of seconds the listener was connected for </p>
|
||||
|
Loading…
Reference in New Issue
Block a user