Many DJ’s use SAM Broadcaster which is a great piece of software for live music streaming and you can download a 30 day trial from – http://www.spacialaudio.com
It can handle streaming to a live shoutcast or icecast server and is quite easy to setup. I would recommend the Firebird database version of SAM Broadcaster to start with as its all included in the download and is automatically setup. Once you have installed SAM and launched the program you should see the following screen:
First thing you will need to do is setup your encoder/stream settings, to do this:
- Simply goto the Desktop B which has the Encoder window (this is default)
- Click the + sign to add a new encoder
- Choose MP3 (normal) from the list of possible encoding options
- Set the quality of your stream (High Quality) and the format of the stream (for example 128kbits, 44.1kHz, Stereo)
- Click the Server Details tab, select Shoutcast or IceCast as the server type. Then enter the servers ip address, port and password. (if you are using an IceCast server you will also need to provide the mount point)
- Set the name of your station, and any other details which are revelant to you.
- Click OK to save the encoder details.
You should now see the encoder setup in the Encoders window in Desktop B. Now connect the encoder to the stream.
- Select the encoder entry
- Click the play button and the encoder should connect
Any music or sounds played would now be broadcast to the stream and to the audience listening.
- Click Desktop A
- In the Queue window add some your favourite music using the + button
- Click the play button in Deck A, the first song from your queue will start to play
When playing music or talking on your stream, make sure the “Air” button in depressed in the window (Deck A, Deck B, Voice FX), this means that it will be broadcast live.
In Second Life you then just need to set the Music URL for your stream, remember you need to include the http:// part before the hostname or ip address and the port number. For example might look something like this http://gold.slserver.:8000 or http://22.214.171.124:8000
See the article Understanding Streaming in Second Life if you are not sure about how to set your music address in Second Life.
Common issues using SAM Broadcast
If you are receiving an error similar to “Buffer cleared. Can’t send data fast enough”. This maybe due to latency between you and your server, or simply your upload speed on your internet connection doesn’t have enough bandwidth to send the stream of music to the server fast enough.
There are several things you can check:
- When you aren’t streaming music, run a speed test on your connection ( http://www.speedtest.net), select a location near you and check to see what you upload and download speeds are. Ideally you should have at least 200kbits available for a 128kbits stream.
- Try pinging the shoutcast server and see what the response time is. In Windows, click Start > Run > cmd to open command prompt. Then type ping followed byt the ip address of the server in the dos window, example ping 126.96.36.199 Ideally the ping should be lower than 200ms.
- If the ping is higher than around 100ms, you might like to try this. In SAM, Click Config > Audio Mixer Pipeline. Then Click the “Air Out” button. On that new window you have Buffer settings. Set the packets to 15 and increase the Packet time, this may be enough to overcome the latency between your connection and the server.