

To enable streaming of the local soundcard we may need to define the recording device for Darkice in pulseaudio first. We can stream the output of the local sound card as OGG Vorbis or as mp3 stream using Darkice.

m3u format) over an Icecast2 server by: /etc/init.d/icecast2 startįor further options read the documentation in the quite elaborate man page from man ices.
Ladiocast local install#
We need to install IceS, which we have to install from source.Īfter having set up the configuration file with server address, password and streaming properties (well documented example will be found in /usr/share/doc/ices/examples) we can stream mp3 audio files from playlists (e.g. Streams are terminated by killing Ices2 and/or stop running the Icecast2 server: killall ices2īroadcasting a playlist containing mp3 files can not be done with Ices2. On the receiver side your radio "station" tunes on: :8000/example1.ogg where is the IP of your streaming server followed by the port you defined in the icecast.xml file (default 8000). Ices2 /home/user/somewhere/ices-pulse.xml # or any other name from. Streams from your soundcard will be started by first running the Icecast2 server, and then running Ices2 using the following commands: /etc/init.d/icecast2 start The name of the stream for the receiving client is defined in the following section. To do this edit the corresponding line to: pulse In the section you may need to replace the device if you have setup your sound system to PulseAudio. Depending on the configuration file Ices2 uses a playlist in Ogg Vorbis format ( ices-playlist.xml) or the output from your soundcard ( ices-alsa.xml) as streaming source for Icecast2. These files need to be edited to meet your needs and can be copied anywhere, best in your home directory. Verbous examples of configurations can be found in /usr/share/doc/ices2/examples/. Mkdir /etc/ices2 # for putting ices stuff in. Make directories for Ices2 mkdir /var/log/ices # in case you need logfiles. To set up of pulseaudio to enable recording from the soundcard see note for Darkice below. Ices2 for streaming OGG Vorbis audio from a local soundcard

Stream2ip is a graphical frontend to quickly start and stop streams where a basic setup for Ices2, Ices or Darkice has already been done. Further documentation is available from. While running the Icecast server can be administrated from any browser at after entering your administrator credentials defined in step 1. The server is started and stopped by the following commands: /etc/init.d/icecast2 start In the configurations files there are explanatory notes on parameters. Of course there are many more settings you can play with. The last line needs to be changed to ENABLE=true Open the /etc/default/icecast2 file as root in an editor. Leave it as localhost (no need to give a resolved IP there) when you only want to stream in your local network. You also need to define the hostname where your stream can be reached: localhost The same will need to be done in the Ices or Darkice configuration files. That means leave it default or change it in the ices2.xml file (see below) as well. If you changed the or you need to do so on the source or relay side as well. For security reasons you should setup passwords in the section: admin Open the file /etc/icecast2/icecast.xml as root in an editor.
