Difference between revisions of "Streaming Service with Icecast"

From Run Your Own
Jump to: navigation, search
Line 2: Line 2:
  
 
== Installation (Debian) ==
 
== Installation (Debian) ==
 +
'''Note:''' At time of writing, <code>icecast-kh</code> suffers from [https://github.com/karlheyes/icecast-kh/issues/260 a small compilation problem with OpenSSL].
 +
 
* Install dependencies
 
* Install dependencies
 
  apt install libxslt1-dev libogg-dev libvorbis-dev libtheora-dev libcurl4-openssl-dev
 
  apt install libxslt1-dev libogg-dev libvorbis-dev libtheora-dev libcurl4-openssl-dev
Line 12: Line 14:
 
  make
 
  make
 
  make install
 
  make install
 
+
* Make sure you listen on 8000, adjust your <code>iptables</code>:
'''Note:''' At time of writing, <code>icecast-kh</code> suffers from [https://github.com/karlheyes/icecast-kh/issues/260 a small compilation problem with OpenSSL].
+
-A INPUT -p tcp -m tcp --dport 8000 -j ACCEPT
  
 
== Configuration ==
 
== Configuration ==

Revision as of 23:03, 16 December 2019

Note: we will be using the icecast-kh fork that contains some extra stuff (FIXME: unpack stuff).

Installation (Debian)

Note: At time of writing, icecast-kh suffers from a small compilation problem with OpenSSL.

  • Install dependencies
apt install libxslt1-dev libogg-dev libvorbis-dev libtheora-dev libcurl4-openssl-dev
  • Get the sources
cd /usr/src
git clone https://github.com/karlheyes/icecast-kh
  • Compile and install
cd icecast-kh
./configure --with-openssl
make
make install
  • Make sure you listen on 8000, adjust your iptables:
-A INPUT -p tcp -m tcp --dport 8000 -j ACCEPT

Configuration