So simple even a horse can do it.
It's actually not too difficult. Using these instructions, you could be up and running in about half an hour, if you are familiar with how to configure your router to forward ports.
If you don't know what a port is, you can get an introduction from my How To Setup a Webcam page.
While my current setup is a great deal more complex than the method described here, this is a system that almost anyone can build and operate with only a minimal understanding of streaming media and networking, and it doesn't cost anything. My KWBY music station used this method for over six months before I developed my current system.
Using a streaming server, including Windows Media Encoder as described in this article, there will be a delay of anywhere from a few seconds to over a minute, from when your music plays (or when you wave at your camera) and when the person on the other end hears or sees the result. This is due to buffering in both the server and on the other end in the player. As a result, this class of streaming servers are not suitable for live IM chatting or VOIP (voice over Internet Protocol) communications.
There are any number of streaming systems or services you could use, such as SHOUTcast, Live365, or Real Server, along with many others, but these are either very complicated to set up, require listeners to install special software, or have additional charges involved.
I recommend setting up a station using Windows Media Encoder rather than one of the other systems for several reasons;
As of today, the link below in #5 will download Media Encoder from Microsoft, but I do not know how long the older encoder will be available. Get it while you can. If this link fails, you can try searching Goggle for wmencoder.exe, you might find a working link somewhere.
You can use Expression Encoder to create content, for streaming or simple http download, however, local streaming is not included. I am still investigating Expression Encoder as I get the time and will update this page when I learn more. But that may be a few months.
What you will need:
Minimum configuration to capture and broadcast audio:
266 MHz processor, such as an Intel Pentium with MMX, Windows XP or Windows 2000, 64 MB of RAM. Supported sound card. Keep in mind that these are the MINIMUM computer requirements. If your computer only meets the minimum requirements, don't expect this computer to be able to do anything else.
Recommended configuration can also capture video:
866 MHz processor or higher, such as an Intel Pentium III or AMD Athlon, Windows XP, 128 MB of RAM or higher. Supported audio-capture device.
If you are going to use a computer running Windows Media Player as your source, don't use the same computer to stream your station as the one playing your music. It won't work, unless you have a very powerful late model computer which isn't doing much else. Media Encoder will not run smoothly and you will get some most peculiar results, such as sputtering, sound speed fluctuations, dropouts, and more. While the results are quite entertaining for a minute or two, it is unusable as a webcast station. I learned this the hard way. I spent a lot of time setting everything up and then had to start over again.
Now comes the more complicated part
You will need to select a port that your listeners can connect through. It has to be a port that your Internet provider does not block and that isn't being forwarded elsewhere on your network. I use port 444 because of some port conflict issues with my setup, but since the default port for Windows Media Player is 1755, this would be a better one for you to start with.
Chose the streams you want to make available. There are three major points to consider when choosing the stream speeds you want to offer.
The higher the stream speed you offer, the better the quality of your music or webcam image. However there is a trade off. If you are netcasting from your home, your upstream speed is probably limited, and the higher your stream speed, the fewer simultaneous listeners you can have.
For example, let's say you have a DSL connection which is advertised as 250k upstream bandwidth. Remember, this is your maximum upstream bandwidth, only obtained under ideal conditions. Much of the time your bandwidth will be less. Also, remember that you are going to have to use part of that bandwidth for yourself, such as for sending e-mail.
Now, if you were to choose the 135K stream and you get 2 listeners who connect at the same time, they will occupy 270k - that's already over your bandwidth. With only 2 connections, your listeners will hear audio dropouts, or even connection timeouts, especially while your e-mail is being uploaded.
For a music station I recommend that you choose multiple bit rates, include 11, 15, 19, and 24 (see #9 in the next section). The 11 and 15 k stream will give dialup users a connection even if they are experiencing very slow speeds. If you have a really fast connection, add a 37 bit rate stream. The 37 bit rate is as good as an FM radio station so there is really no need for anything faster for just audio. Video is another matter and will occupy much more bandwidth. For a webcam, your choices on the low end will be more limited. Start with the 28k and 43k bit rates and see how they look, then go from there. I have a 2mbit upstream connection, so I can support about 28 simultaneous connections at the 37kbts speed.
Now for the fun part!
Listening to your station
Instruct your listeners to open Windows media player, press Ctrl U, and enter the following URL;
mms://188.8.131.52:444/ (notice that says mms:// not http://)
184.108.40.206 is your current IP address. Change 444 to the port you have chosen to use. If you are using the default port (1755) then you can leave off the last colon and the port number. Your IP address probably changes every few days so you will need to modify this file each time you use it. See next section on Dynamic DNS for how to use a dynamic DNS service to be able to use a name rather then your IP address.(This is VERY important)
<REF HREF="mms://220.127.116.11:444" />
Substitute the port number you chose instead of my 444. You can leave the port number off if you are using the default port.
Name the file somthing.wvx
place the file on your website and create a link on your page to that file, not to the source music.
Simply making a link to your station in a web page will not work with newer media players and some web browsers. Some older browsers may work but not the newest ones. You MUST link to this wvx file, not directly to your stream. The wvx file has to link to the stream.
Now, your friends can listen to your own personal Internet radio station, or watch you on your streaming webcam.
DNS or your changing IP address
Because your IP address probably changes frequently, you may want to sign up for a Dynamic DNS service so you don't have to give your listeners a new IP address each time they connect. See my Dynamic DNS page in my webcam review section for more info.
Number of listeners
By default, Windows Media Encoder is limited to 5 simultaneous connections. You can modify this number by editing the Windows Registry. This is rather technical and if you are not familiar with the Registry I don't recommend you try this without help from someone who knows computers. Most people's Internet connection could have bandwidth problems with more than 5 listeners anyway.
Click on Start > Run then type in regedit and click OK.
Now search for the following key;
HKEY_CLASSES_ROOT\Software\Microsoft\Windows Media Tools\Encoder\MaxClientConnections\
The default is 5. You can change that to whatever number you want to allow to connect, but remember the restrictions on your bandwidth.
If you don't know what command lines or batch files are, then this section is not for you.
The problem with the above process, using the graphical interface, is that the stream will not start on its own. You can save the profile and place it in your startup group, and the program will start, but not the stream. You have to manually click "Start Encoding" to make it work. However, there is a command line version which can be used if you want an unattended station to start automatically when Windows starts up.
You need to create a Windows Media Encoder Profile. Once you have configured the encoder as described above, click on File, Save, and save the profile to a location of your choosing using whatever name you want. (Note: if you add or remove an audio or video device from your computer the profile may not work correctly because the device numbers may change. If so, you will need to go through the settings process again and resave the profile.)
Now you need to create a batch file which will start the command line process. It would make the process easer if you save both your profile and batch files in the Windows Media Encoder folder.
C:\Program Files\Windows Media Components\Encoder\
Your batch file should look like the following...
cscript.exe wmcmd.vbs -wme My_profile_file.wme -duration 9000000
Here's what all that means. Note: you will need to include the path to where the program and files are located in the batch file.
Place a shortcut to this batch file into your Windows startup group.