Setting up a Live Broadcast on the Internet

Broadcasting live content over the Internet isn't aslistener. To see it in action, listen to the Live Police
difficult as people would think. In fact, it's extremelyScanner at You'll see some text scroll in the Windows
easy. All you need is an audio or video source, a wayMedia Player.
of getting the audio or video to the PC, a freeOnce you've typed in the Display Information click
software program supplied by Microsoft, and enoughthe Finish button instead of the Next button. You'll
upload bandwidth to cover the broadcasting of theget a pop up dialog box that tells you about IP
content.blocking. Just ignore this for now and click OK.
In this tutorial, I'll attempt to teach you what youThat wasn't that hard was it. Believe it or not, we're
need to know so you can broadcast your contentdone. Well, almost.
over the Internet. I'll primarily show you audio only,Windows Media Encoder only allows a maximum of 5
but you'll see how easy it is to do video as youconcurrent listeners by default, so if you want to
progress through this tutorial.have more than 5 you can make a small windows
As this is a text only tutorial, you will want toregistry change on your PC which will allow up to 50
download the free software from Microsoft, and goconnections.
through the configuration while you read this tutorial.Warning: Changing the registry can be hazardous to
Don't panic though. It's really easy to do. Don't let theyour operating system if you change or delete the
length of this tutorial scare you away. The rewardswrong thing. If you aren't confident doing this
of having your live broadcast up and running shouldyourself, get someone that knows what they're
keep you motivated to stick with it.doing to help you out. I can't be held responsible if
The only slightly complicated part of this tutorial is toyou mess it up, and can't boot back into your
do with your firewall. Due to the number of firewallsoperating system. Now, having said that, it's a very
out there, I'll be very generic in my approach toeasy to make the change so you shouldn't have a
telling you what you need to do. I'll explain this inproblem. Follow the instructions at the end of this
further detail later in the tutorial.document, only if you want to allow more than 5
Let's Startconcurrent listeners. If you're happy with 5 listeners,
First things first. You need to set up your audiothen we're almost done.
source. In this example I'm using a radio scanner toIf you've followed the tutorial up until now, you will
broadcast Live Police from Sydney Australia. If youhave an audio source with a cable going from the
want, you can listen to it by going toheadphone socket to the Microphone socket of your
I basically have the radio scanner plugged into mysound card in your PC. You will have your Windows
PC's sound card with a cable roughly 2 metres (7Media Encoder totally configured and be raring to go.
Feet) in length with a 3.5mm mono plug on each end.Just ensure you save the configuration on the
Of course the length of cable is up to you. Note: ifWindows Media Encoder so you can load it at any
you are broadcasting music, you'll want to use atime.
cable that has stereo plugs instead of mono plugs.One more minor speed bump to get over and you'll
You'll also want to ensure your plugs on the cablebe broadcasting to the world. This is the part that
match the audio device, Some devices may use acan be a little complicated though. I'll attempt to give
2.5mm plug instead of 3.5mm. If you are broadcastingyou the basics you'll need to get your live broadcast
voice only, mono plugs are better as it ensures soundup and running.
comes out of both speakers for the listener.We'll break this down into two parts. Configuring your
Plug the cable in so that one end plugs into thefirewall, and working out your IP address so you can
headphone socket of your audio device, and thegive it out to your listeners.
other end plugs into the Microphone socket of yourConfiguring your firewall
sound card on your PC.If you are using a software firewall such as Zone
Now go to the Microsoft website and download theAlarm, it's dead simple to configure. Basically, you just
Windows Media Encoder 9 software. It's free. It'srun the Windows Media Encoder and click the Start
approximately 9.5MB.The software is located atEncoding button. When you do this your firewall
Once you've installed the software, go ahead andshould prompt you asking if you will allow the
start it. You'll be presented with the setup wizard.connections. Just choose YES to all the questions. It
Highlight the option named Broadcast a Live Eventneeds access to the Internet, as well as needs to
and click OK.run as a server.
You'll now be in the window where you can chooseIf you have a hardware firewall such as one that is
your audio source and/or video source. If you werebuilt into your ADSL modem/router, then it gets a
setting up video, you would leave both items ticked,little more complicated. What you need to do is go
however in this example, we're just going to dointo the configuration of the modem/router, and find
audio so go ahead and untick the video option. Underthe section labeled Firewall. In that section you'll be
the audio option use the drop down box and chooseable to configure firewall rules to either Allow and
your sound card from the list. Then click theDeny connections. The section may be called
configure button.something similar to packet filter. Consult your manual
In the audio properties window the only thing youto find out exactly where you need to make the
really need to change is the option called Pin Line. Inchanges.
the Drop down box, choose Microphone. Of courseOnce you've located the correct section, you'll need
you can also use Line In, but you need to ensureto configure it so that the source ports range from 0
you've plugged the cable into the Line In of yourto 65535. The destination port range should be 8080
sound card.to 8080 if you followed my tutorial. Ensure Inbound
So far it's pretty easy right? Believe it or not, there'sand Outbound traffic is also allowed.
not a great deal more to do.Note, some modem/routers might already have port
Let's continue shall we8080 configured. If your modem/router does already
Just click OK and then Next.have this configured, then ignore the above because
If you've followed the tutorial so far, you should beit sounds like you're already configured to allow the
in a window where you can choose a broadcastnecessary connections.
method. Click on the radio box next to Pull from theHow to connect to the broadcast
encoder and click on the Next button.The URL to give to people is mms://:8080 where is
In the field labeled Http Port, pick a common port likewhatever your public IP address happens to be. You
8080. You'll thank me later. Many firewalls on routersneed to ensure it's the address your ISP gives you,
have rules already set up for port 8080 and it makessince people from the Internet will be connecting to
it a lot easier to configure. It also allows maximumit. If you aren't sure what your IP address is, you can
availability to the masses due to it being a commonget your IP address by visiting a site on the internet
proxy port number. Go ahead and click Next.such as As soon as the site loads, your IP address
Next we need to configure the encoding options. Gowill be at the top of the page in huge print. Simply
to the drop down box and choose Multiple Bit Ratesreplace with the actual IP address and your done.
audio (CBR). In the Bit rate section, choose 19kb/s.Ensure you don't use the < and > brackets in the
Note: Ensure you untick all the other bit rates. TheURL though. It should look like mms://10.10.10.10:8080
only bit rate you want ticked is 19kb/s. This bit rateexcept use your IP address.
should be a good compromise between quality andThat's it. I hope your head didn't explode
bandwidth consumption for streaming voice quality. IfThe only thing left to do now is adjust your audio
you want to stream something like music, you maysource levels so that the audio meter stays mainly in
want to choose a higher bit rate. MP3 audio tends tothe green. You can experiment by connecting to the
be around 128kb/s but remember the higher bit ratestream yourself, and by putting the mms URL above
you use, the more upload bandwidth will be required.into your browser's address bar and pressing enter.
For an idea of bandwidth usage, you can haveYour Windows Media Player should open and try and
roughly 40 concurrent listeners on a 1mb/s uploadconnect to the broadcast.
bandwidth using 19kb/s. This will leave you with aboutNote: If you aren't able to connect to the broadcast,
250kb/s for doing other things on the internet. Theonly play with the firewall settings, and not the
more concurrent listeners you have, the moreencoder. Ensure you have the START ENCODING
powerful CPU you'll require, but from experience, youbutton pressed on the encoder to ensure its running.
don't need a high powered CPU. The Live PoliceIf all has gone well, you should be listening to your
scanner at has a maximum of 40 concurrent listenersbroadcast over the Internet. Give that URL out to
on a 1.7GHz CPU with 1 gig of memory and runsyour visitors.
beautifully. And yes, I have reached 40 concurrentTo increase the maximum number of direct
users at once.connections
Let's continue1. In Registry Editor, use the tree view to navigate
Click the Next button, and then click it again so weto the following subkey:
skip the Archive section.s Media Tools\Encoder\MaxClientConnections
Here we'll type in some text about the audio. When2. Edit the subkey so that it reflects the maximum
people listen to the stream using their Windowsnumber of direct connections you want to allow. The
Media Player, it will scroll this information to themaximum possible number is 50.