[Tutorial] Setting Up a Basic Online Radio - GNU/Linux
Users browsing this thread: 2 Guest(s)
|
|||
This is rather simple and can be done on a local network or via an HTTP accessible server. Now, I know that there are way more efficient ways of doing this (there are addons and whatnot floating around for individual media players) but for now, darkice will suffice. You'll also need Pulse since it seems OSS is no longer a standard. You can try drudging through the ALSA or Jack configuration if you'd like.
Code: wget http://darkice.googlecode.com/files/darkice-1.1.tar.gz Now you'll need to install Icecast2 on either the local machine or remote server you wish to stream to. Make sure to edit "/etc/icecast2/icecast.xml" and change the passwords. You may also want to reconfigure other stuff here. Once it's setup and you can confirm that it runs properly, you'll need to configure darkice. Note: You can check if Icecast2 is running by going to localhost:8000 or domain/IP:8000 if you didn't change the default port. Code: sudo <editor> /etc/darkice.cfg Here's a sample configuration file that you are free to use. You may want to edit it just a bit. Code: [general] Install pavucontrol, run it, and switch to the "Recording" tab. If darkice is running, you'll be able to set what gets streamed here. If you want to stream what comes off of your sound card, change it to the monitor of your default card. Same goes for any other interface you wish to stream. |
|||
|
|||
Nice tutorial, I'll definitely try this.
|
|||
|
|||
Very nice tutorial Joomla! I used to run my own online radio. I used a Windows box at the time so Sam Broadcaster was the bees knees. I will have to give this a try!
|
|||
|
|||
As I said, there are much better solutions that don't require you stream everything that passes through your sound card (this can probably be worked around, too). It's really simple though and gets the job done. Also, the title of the current song being played won't be streamed if you're streaming music.
|
|||