Difference between revisions of "Servers Configuration"

From Giss
Line 26: Line 26:
 
  make install
 
  make install
  
With this conf each slave server only get one stream till master redirects a client to it.
+
With this conf each relay server only get one stream till master redirects a client to it.
  
In each slave server we use an standard icecast.xml conf adding this lines:
+
In each relay server we use an standard icecast.xml conf adding this lines:
  
 
  <master-server>giss.tv</master-server>
 
  <master-server>giss.tv</master-server>
Line 52: Line 52:
 
the same with <sources>
 
the same with <sources>
  
To request the PASSWORDRELAY to add a new slave server, please send  
+
To request the PASSWORDRELAY to add a new relay server, please send  
 
a mail to the list stream-ring AT poliforma.org
 
a mail to the list stream-ring AT poliforma.org

Revision as of 14:05, 29 October 2008

Master Server

Icecast version: Icecast 2.3-kh33 from: http://www.icecast.pwp.blueyonder.co.uk/

In master server we use an standard icecast.xml conf adding only this line:

<max-redirect-slaves>10</max-redirect-slaves>


Relay Servers


Icecast version: Icecast 2.3-kh33 from: http://www.icecast.pwp.blueyonder.co.uk/

You need to build icecast with libvorbis-dev + libogg-dev + libtheora-dev + libcurl-dev
tar xvfz icecast-2.3-kh33.tar.gz
cd icecast-2.3-kh33/
./configure --with-ogg --with-vorbis --with-theora --with-curl
make 
make install

With this conf each relay server only get one stream till master redirects a client to it.

In each relay server we use an standard icecast.xml conf adding this lines:

<master-server>giss.tv</master-server>
<master-server-port>8000</master-server-port>
<master-update-interval>10</master-update-interval>
<master-password>PASSWORDRELAY</master-password>
<master-relay-auth>1</master-relay-auth>
<master-redirect-port>8000</master-redirect-port>
<master-redirect>1</master-redirect>
<relays-on-demand>1</relays-on-demand>

and changing this parameters:

<clients>160</clients>
<sources>50</sources>

the <clients> value depends on your network bandwidth. So aprox:

for 20 mbps bandwidth, to use 160 as max clients is a good choice
for 50 mbps bandwidth, 400
for 100 mbps bandwidth, 800

the same with <sources>

To request the PASSWORDRELAY to add a new relay server, please send a mail to the list stream-ring AT poliforma.org