Icecast Hub Server

From G8 TV Wiki

Jump to: navigation, search

The config for the Hub-Server

  • This Server recieves the video stream from the Studio and relays it to other mirror server.
 $ vi /etc/icecast2/icecast.xml
 <icecast>
   <limits>
       <clients>200</clients>
       <sources>5</sources>
       <threadpool>5</threadpool>
       <queue-size>524288</queue-size>
       <client-timeout>30</client-timeout>
       <header-timeout>15</header-timeout>
       <source-timeout>10</source-timeout>
       <burst-on-connect>1</burst-on-connect>
       <burst-size>65535</burst-size>
   </limits>
   <authentication>
       <source-password>PASS1</source-password>
       <relay-password>PASS2</relay-password>
       <admin-user>admin</admin-user>
       <admin-password>PASS3</admin-password>
   </authentication>
   <hostname>g8-tv.org</hostname>
   <listen-socket>
       <port>8000</port>
   </listen-socket>
   <relays-on-demand>1</relays-on-demand>
   <fileserve>1</fileserve>
   <paths>
       <basedir>/usr/share/icecast2</basedir>
       <logdir>/var/log/icecast2</logdir>
       <webroot>/usr/share/icecast2/web</webroot>
       <adminroot>/usr/share/icecast2/admin</adminroot>
       <alias source="/" dest="/status.xsl"/>
   </paths>
   <logging>
       <accesslog>access.log</accesslog>
       <errorlog>error.log</errorlog>
       <loglevel>4</loglevel> 
       <logsize>10000</logsize> 
   </logging>
   <security>
       <chroot>0</chroot>
   </security>
</icecast>
Personal tools