Alvin Bunk

Alvin's Blog.


For COMP 435, I needed to propose a streaming server. I chose Icecast since it’s so popular and plus audio is another area that I really interested in.

To setup a full internet broadcast radio station, you will need Icecast server and a source client which provides the audio stream. I decided on ezstream, since it was the only source client that actually worked, and configuration/setup was easy.

Here is a sample “icecast.xml” configuration file that might be used on a server:

        <!-- Specifies the number of clients that can connect -->
		<!-- One for main source client, one for standby, third for microphone input -->
        <!-- Should change this in production use. -->

	<!-- Use your registered domain name -->
        <!-- Where logs are stored. -->
        <alias source="/" dest="/status.xsl"/>
		<accesslog>access.log</accesslog><!-- Name of log file -->
        <errorlog>error.log</errorlog><!-- Name of log file -->
      	<loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
	<!-- Publish on YP. Can add mulitple sites. -->

Then you can use ezstream as a source client to send the stream to the Icecast server. A sample ezstream XML file might look like the following:

    <svrinfoname>My Radio Stream</svrinfoname>
    <svrinfogenre>70s Rock</svrinfogenre>
    <svrinfodescription>Streaming audio from the 70s.</svrinfodescription>

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: