Difference between revisions of "Servers Configuration"
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Master Server''' | '''Master Server''' | ||
− | Icecast version: Icecast 2.3- | + | Icecast version: Icecast 2.3.2-kh4-giss from G.I.S.S. cvs : |
− | http://www. | + | |
+ | export CVSROOT=:pserver:anonymous@giss.tv:/home/cvs | ||
+ | cvs co icecast-2.3.2-kh4-giss | ||
+ | |||
+ | this version is based on Icecast 2.3.2-kh4 from : | ||
+ | http://www.xiphicecast.webspace.virginmedia.com | ||
+ | but it is only for the master server! | ||
In master server we use an standard icecast.xml conf | In master server we use an standard icecast.xml conf | ||
Line 12: | Line 18: | ||
− | ''' | + | '''Relay Servers''' |
− | Icecast version: Icecast 2.3- | + | Icecast version: Icecast 2.3.2-kh20a or later from http://www.xiphicecast.webspace.virginmedia.com |
− | http://www. | ||
− | + | You need to build icecast with libvorbis-dev + libogg-dev + libtheora-dev + libcurl-dev | |
+ | tar xvfz icecast-2.3.2-kh20a.tar.gz | ||
+ | cd icecast-2.3.2-kh20a/ | ||
+ | ./configure --with-ogg --with-vorbis --with-theora --with-curl | ||
+ | make | ||
+ | make install | ||
+ | In each relay server we use an standard icecast.xml conf modifying these lines: | ||
<master-server>giss.tv</master-server> | <master-server>giss.tv</master-server> | ||
Line 28: | Line 39: | ||
<master-redirect-port>8000</master-redirect-port> | <master-redirect-port>8000</master-redirect-port> | ||
<master-redirect>1</master-redirect> | <master-redirect>1</master-redirect> | ||
+ | <relays-on-demand>1</relays-on-demand> | ||
and changing this parameters: | and changing this parameters: | ||
− | <clients> | + | <clients>160</clients> |
<sources>50</sources> | <sources>50</sources> | ||
− | To request the PASSWORDRELAY to add a new | + | the <clients> value depends on your network bandwidth. So aprox: |
− | a mail to the | + | |
+ | 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>, considering your upload bndwidth. | ||
+ | |||
+ | To request the PASSWORDRELAY to add a new relay server, please send | ||
+ | a mail to the GISS admins : gissnetwork _(at)_ gmail _(dot)_ com. |
Latest revision as of 18:27, 21 January 2011
Master Server
Icecast version: Icecast 2.3.2-kh4-giss from G.I.S.S. cvs :
export CVSROOT=:pserver:anonymous@giss.tv:/home/cvs cvs co icecast-2.3.2-kh4-giss
this version is based on Icecast 2.3.2-kh4 from : http://www.xiphicecast.webspace.virginmedia.com but it is only for the master server!
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.2-kh20a or later from http://www.xiphicecast.webspace.virginmedia.com
You need to build icecast with libvorbis-dev + libogg-dev + libtheora-dev + libcurl-dev
tar xvfz icecast-2.3.2-kh20a.tar.gz cd icecast-2.3.2-kh20a/ ./configure --with-ogg --with-vorbis --with-theora --with-curl make make install
In each relay server we use an standard icecast.xml conf modifying these 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>, considering your upload bndwidth.
To request the PASSWORDRELAY to add a new relay server, please send a mail to the GISS admins : gissnetwork _(at)_ gmail _(dot)_ com.