Broadcasting Howto


Broadcasting Howto
(From H. Jakovski)

I will try to explain the broadcasting feature of Virtual DJ a bit more detailed. Broadcasting itself sounds very easy but you need different knowledge about networking, TCP/IP, a bit of Firewalling, Router configuration and IP Networking

Most people have nearly the same standard setup of their equipment. The internet connection came from the provider and gets connected to an Router. From there you have cables to each PC/MAC or uses WLAN to connect them wireless.

One important thing at first - if you want to stream music to others you need enough bandwidth as upstream to the Internet. UMTS/HSDPA/GPRS is normally not fast enough to stream to more than 1 or 2 people at the same time with acceptable bitrate so this is a setup nearly nobody uses in praxis.

Most setups look like this:


Broadcasting direct with Virtual DJ
Important to know - there are 2 different IP Addresses you need to know before you can stream to the Internet. First the external 'real' Internet IP Address (this is the one your Router gets from your ISP) and second the internal IP Address your Virtual DJ computer has.

The WAN-Address called IP will be provided from your ISP every time your Router reconnects to the Internet. You have no influence which number you get from the ISP. Most ISPs disconnect once a day (mostly at night) so you might get a new WAN IP in that moment. (Important to know because when they disconnect while you stream then you have a prob)

For streaming you need tho understand the concept of Ports on your computer. Imagine a House with 1000s of doors and one of them is for the music. The default streaming Port is 8000. Users that want to connect from outside need to know your external IP and your external Streaming port (8000) because they only can see your Router as a Gateway to your Network.

To hear the stream the Port 8000 from Virtual DJ has to be handed outside via the Router to the listening Users or a Streaming Server. So all you have to do is to forward your external Port 8000 to the internal Virtual DJ PC with a fixed IP and it's Streaming port 8000.

Please look in your Documentation for your used Router about how to make Port forwarding with it.

You must login to your Routers Web interface - normally by entering username and password. These are NOT the Login credentials for Virtual DJ Website or the Login for your Windows. The Login for the Router is different and should be explained in your Router Manual.

More information(s) about how to forward you can find here: http://portforward.com.

If you now have problems to understand the part you read up to this point then you better should not stream. If you make experiments on your Router or Computer Firewall things can be damaged or illegal access from the Internet can be a result of mis-configuration.

You can check the port forwarding with a handy small Tool: http://portforward.com/help/portcheck.htm

If you still want to setup your own stream then it's time to collect the needed information(s) for the port forwarding.

First we will collect the IP-Address of your (internal) Virtual DJ streaming PC/MAC. On Windows click on 'Start' and 'Execute'. Enter cmd and press Enter/Return. A black Window opens and gives you a DOS Shell with a command prompt. Please enter ipconfig and press Enter/Return.

You get a result that should look like this:

Shell - IPConfig wrote :
C:\>ipconfig

Windows-IP-Configuration

Ethernetadapter Wireless Networking:

IP-Address. . . . . . . . . . . . : 192.168.1.143
Subnetmask. . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . : 192.168.1.1


Write down the IP Address you get there. It's the internal IP of your Streaming Computer. Now we want to get the external / WAN IP. There are different ways to do this. We can get the information by entering this Website for example: http://www.wieistmeineip.com/. Write down the shown IP - it's your external WAN-IP. This is the IP you give to your friends to directly connect to your stream later.

The next part i think is the difficult one because you have to forward the port on your Router. Enter the Administration Page of the Router and go to the port forwarding settings.

Enter a new Rule and fill in your collected Data - external WAN IP, internal IP of your Streaming Computer and the Port which should be forwarded 8000. As Protokoll you should enter TCP and UDP. On some Routers you can do this with just one Rule on others you need to enter two separate Rules - one for TCP - one for UDP.

Now it's time to start your Virtual DJ and click on the Record tab and select direct streaming from your Computer.

Attention:
It's important that you have enough UPLOAD Bandwidth. This is typically NOT the same Bandwidth as you have in downstream. So the best is to check how much UPSTREAM you have. You can measure the Bandwidth on this page: http://www.wieistmeineip.com/index.php?content=speed.

Many Routers do NOT support connections from your internal LAN to the external WAN Interface of the Router itself. If you want to listen to your own stream from a second computer you have to use the internal IP you wrote down earlier.


In most cases you want to stream in MP3 format. For this you need the lame_enc.dll which you can download here for example. Put this .dll in your Virtual DJ Plugins folder and select it in the Record dialog.



Enter you UPSTREAM Bitrate - remember to calculate how many Users you want to have with your meassured upstream Bitrate. Virtual DJ sends in Shoutcast or Icecast Format similarly to a real server. Users who want to connect to the stream have to use a Streaming Music client like Winamp, VLC Player, Mediaplayer ... They are NOT able to connect with Firefox, Opera or any other Browser.



Broadcasting with a real Shoutcast / Icecast Server
The configuration is the same as you do when you direct broadcast from your Computer. Just change the Streaming option to 'Stream to a server'. Now enter your Streaming Server login data in the given fields and that's it. Connect to your server and here we go.

For streaming in MP3 format you also need the lame_enc.dll as described above.

For IceCast servers, the server field in VirtualDJ broadcast settings, must contain the mountpoint if there is one.
For example : serverip/mountpoint



(From H. Jakovski)


Wiki HOME


Site map
(C)opyright Atomix Productions 2014

Software
Hardware
ContentUnlimited
Goodies
VirtualDJ Pro Full
VirtualDJ Pro Basic
VirtualDJ Broadcaster
VirtualDJ Home FREE
VirtualDJ LE
Comparison
Numark CUE
VirtualVinyl
VirtualDJ iRemote
AtomixMP3
eJay DJMixStation
DJ-Box
Why VirtualDJ?
Vdj for Video
Vdj for Turntablism
Vdj for Club DJ
Vdj for Mobile DJ
What's new
Features
Screenshots
VirtualDJ Home FREE
User Manuals
Plugins
Software Updates
Press Material
Developer SDK
Timecode CD
Skins
Effects
Controllers
Languages
Samples
Grafx
Tools & Drivers
Forums
Users Network
Wiki & Manuals
Radio
Magazine
Social Web
Create a login
Atomix Productions
Privacy Policy
VIP DJs
Ask a question
View your tickets
Wiki & Manuals