Wednesday 12 March 2008

How to Create an internet radio station using SAM BROADCASTER AND ICECAST

To Broadcast Internet radio from your home pc using SAM BROADCASTER instead of the inferior winamp. simply download and install Sam broacaster3, select firebird database for ease of use, then download icecast server and install. Once installed, start the icecast programme select configuration, edit configuration from the drop list and in the pop up notepad file that appears, delete all and replace with the below config just copy and paste it.


<icecast>
<limits>
<clients>100</clients>
<sources>2</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>hackme</source-password>
<relay-password>hackme</relay-password>
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>

<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>

<fileserve>1</fileserve>


<paths>
<basedir>./</basedir>

<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
</logging>

<security>
<chroot>0</chroot>
</security>
</icecast>





Changing the “hackme” variable to a better password. Then press save to complete.


Next moving onto configuring SAMBC. Once SAMBC has loaded go to desktop B and access the encoders tab,


Image


From here click on the + button and select mp3 and mp3pro from the list. And press ok.


Image


From here leave the encoding tab as is shown below unchanged.


Image


Select the server details tab and select icecast from the server types ie, shoutcast, icescast etc. and from here select icecast2. The sever ip should be left as localhost, the server port left as 8000, the password will be the same as the password you selected in the configuration of the icecast server ie the replacement value of “hackme” this is case sensitive!! Leave mount as /live.


Image



There is also a stream archive tab, select this and the file destination of your choice if you wish to record your broadcasting exploits. And press ok to complete the setup process.

This will have returned you to desktop B. from here you will now see an encoder labeled mp3 64kb/s!!


Image


now you must reopen the icecast programme and select start server. To make this automatic check the box labeled “start server on application startup”.


Image


Now the server is up and running you will want music playing before you begin your broadcasting.


This is done on DESKTOP A and should be simple to any user of the software.


We will now return to DESKTOP B where you will see the encoder you configured earlier as shown below.


Image


You will now simply right click on the encoder labeled mp3 64kb/s and select start. The status should change from idle to logging in and then finally to encoding. Your music is now being broadcast from your pc. The location of this stream for listeners will be http://your ip address:8000/live.m3u


The link will automatically open windows media player etc on the listeners computer.


BUT WAIT THERES MORE!!!!!


If you would like to know just how many listeners you have all the time whilst broadcasting. Simply return to DESKTOP B and select Statistics relays, once there select icecast2 from the list and press ok as shown below


Image


From here you must simply change the password to the same as the server and encoder passwords.
Press ok shown below


Image


Next you right click the statistic relay in the list and elect force update. Again shown below!


Image


Congratulations your finished! A fully functioning Broadcasting Radiostation.


Have Fun!!

created by DJ WaYnos

CHECK OUT MY SITE BEATPROJECT