icecast2_yp.html 2.22 KB
Newer Older
j's avatar
j committed
1 2 3 4
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
5
<title>Icecast v2.x Documentation</title>
j's avatar
j committed
6 7 8 9
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="boxtest">
10
<h1>Icecast 2 YP Directories</h1>
j's avatar
j committed
11
<hr id='titlebar' />
j's avatar
j committed
12 13 14
<br />
<br />
<br />
15
<h2>Overview</h2>
Thomas B. Rücker's avatar
Thomas B. Rücker committed
16
<p>A YP (Yellow Pages) directory is a listing of broadcast streams.  Icecast2 has it own YP directory located at <a href="http://dir.xiph.org">http://dir.xiph.org</a>.  Currently icecast2 can only be listed in an icecast2-supported YP directory.  This means that you cannot list your stream in the Shoutcast YP directory.</p>
17
<p>In the icecast2 configuration file are all the currently available YP directory servers.  Listing your stream in a YP is a combination of settings in the icecast configuration file and also in your source client.</p>
j's avatar
j committed
18 19 20
<br />
<br />
<br />
vanguardist's avatar
vanguardist committed
21
<h2>Configuring icecast2 for YP Support</h2>
22
<p>First of all, icecast must have been built with YP support.  This is automatically done if you have libcurl installed.  If libcurl is not detected when icecats is compiled, then YP support is disabled.</p>
vanguardist's avatar
vanguardist committed
23
<p>If icecast has been built with YP support, then the following configuration options control the YP directory settings:</p>
24 25
<pre>
    &lt;directory&gt;
Karl Heyes's avatar
Karl Heyes committed
26 27 28
        &lt;yp-url-timeout&gt;15&lt;/yp-url-timeout&gt;
        &lt;yp-url&gt;http://dir.xiph.org/cgi-bin/yp-cgi&lt;/yp-url&gt;
    &lt;/directory&gt;
29 30
</pre>
<p>Multiple directory XML chunks can be specified in order to be listed in multiple directories.</p>
j's avatar
j committed
31 32 33
<br />
<br />
<br />
vanguardist's avatar
vanguardist committed
34
<h2>Configuring Your Source Client for YP Support</h2>
Thomas B. Rücker's avatar
Thomas B. Rücker committed
35 36
<p>This is usually covered in the source client documentation.  More specifically, the source client needs to provide the HTTP header ice-public:1 on connect in order to enable YP listing of the stream.<br />
This can however be overridden in mount point settings, refer to the config file documentation for further details.</p>
37
<p>If a mountpoint is being listed on a YP, then you will see some additional statistics relating to the YP such as last-touch, currently-playing, etc.</p>
j's avatar
j committed
38 39 40
<br />
<br />
<br />
41 42 43
</div>
</body>
</html>