Installing IceCast audio web server.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Installing IceCast audio web server.

fredvs
Administrator
Hello.

Icecast is a audio stream server.
http://icecast.org

It can deal Opus files encapsulated in Ogg format.
https://opus-codec.org

Opus files can be encoded for voip (voice over ip) or for web-radios (sound
over ip).

To communicate with IceCast, libshout and his fpc header will be used.
https://github.com/xiph/Icecast-libshout 

Today we will install and test the server on Unix 64 bit systems.

1) Installing IceCast + libshout.so.

- Linux :
  # sudo apt-get install icecast2
  # sudo apt-get install libshout3

- FreeBSD :
  # sudo pkg install icecast2
  # sudo pkg install shout

2) Downloading libshout fpc header + demo from here:

   https://sites.google.com/site/fredvsbinaries/shout_demo.tar.xz
   
   Uncompress it somewhere.

3) Testing the audio server on localhost:

# cd /directory/of/shout_demo

# sudo uos_icecast2 start // for linux

# sudo uos_icecast2_freebsd start // for freebsd

If connection is ok, you may check it that way:

In your favorite web-browser, enter as url: http://localhost:8000

Enter login: admin
         password: hackme

This should load the IceCast Status page.

Now run the fpc demo opus_shout_demo.pas to assign a mount-point on the
server:
 
   # cd /directory/of/shout_demo
   # fpc opus_shout_demo.pas
   # ./opus_shout_demo

If all ok, in the IceCast Status web-page, after refresh, a new mount-point
will be added.

Congratulations, your IceCast server is working and you have assigned your
first mount-point.

Fre;D

Loading...