Darkice
Darkice is a live audio streamer that encodes audio on the fly and feeds it to an Icecast server. We will be using Darkice to stream a microphone to the Icecast server we setup in the Icecast section.
Installation
Open up a terminal window and enter
sudo apt-get install darkice
Editing Darkice config file
For very thorough documentation on how to properly setup Darkice, open up a terminal and enter
man darkice
Our config file can be found at
https://github.com/CSUN-SERL/Physical-and-Simulation-SARWAI/blob/master/src/DarkIce/dark_test.cfg
Notes:
- It is recommened that in this file you uncomment the security group section of the config file
- It is recommended to ensure proper privledges is given to the access and log files for darkice
Running Darkice
In a terminal window enter the following command (replace /path/to/icecast.xml with your actual path to the file)
darkice -c /path/to/darkice.cfg
When the cofig file has been properly setup and executed, the audio stream can be heard at
where ip, port, mount_point represents settings found in the config file