Notices


Reply
Thread Tools
Posts: 15 | Thanked: 12 times | Joined on Jan 2010
#1
Adapted from howtoforge:

In a debian based gnu/linux box run:
Code:
   sudo apt-get install icecast2
Afterwards we must edit as root /etc/icecast2/icecast.xml. Most default values should work fine for now, but you should change the passwords in the <authentication>...</authentication> section. The source-password is the password that Qice will later on use to connect to Icecast2; the admin-password is the password that the admin will use in Icecast2's web interface; we won't use the relay-password, but anyway you should change it.

Code:
   sudo nano /etc/icecast2/icecast.xml
Code:
   [...]
   <authentication>
   <source-password>password1</source-password>
   <relay-password>password2</relay-password>
   <admin-user>admin</admin-user>
   <admin-password>password3</admin-password>
   </authentication>
   [...]
Afterwards if you want to enable icecast server by default edit /etc/default/icecast2 and set ENABLE to true:
Code:
   # Defaults for icecast2 initscript
   # sourced by /etc/init.d/icecast2
   # installed at /etc/default/icecast2 by the maintainer scripts
   
   #
   # This is a POSIX shell fragment
   #
   
   # Full path to the server configuration file
   CONFIGFILE="/etc/icecast2/icecast.xml"
   
   # Name or ID of the user and group the daemon should run under
   USERID=icecast2
   GROUPID=icecast
   
   # Edit /etc/icecast2/icecast.xml and change at least the passwords.
   # Change this to true when done to enable the init.d script
   ENABLE=true
And run:

Code:
   sudo /etc/init.d/icecast2 start
Code:
   Note: If you don't want icecast2 server run each time you start your system don't do that, simply to start server run:
           sudo /etc/init.d/icecast2 start
       and to stop it run:
           sudo /etc/init.d/icecast2 stop
You can now direct your browser to http://127.0.0.1:8000/ (or replace 127.0.0.1 with your lan IP address or FQDN if you want to acces with another machine or n900) and browse through the web interface.

On N900 activate extras-devel catalog , and install the no warranty and under--development app qice.

After that you can connect from your maemo box writing your own settings:

Code:
   Host: ipOfTheIcecastServer
   Port: 8000 (you can change it in /etc/icecast2/icecast.xml)
   password: sourcepassword specified.
   mountpoint: theoneyouwant.ogg

If you are working with another icecast2 service supplier ( giss.tv recommended) simply follow the indications of its.

When you finished you can then press the stream button. Then you can test it in icecast2 server box going in your browser to http://127.0.0.1:8000/theoneyouwant.ogg . If you want it to be able in internet you have to edit your router to open 8000 port mapped to the lan (static) ip of your icecast2 server box, google it to do this.

You can then stream to everybody in the world from n900.

Once you get qice is installed the gstreamer shout2send plugin, which let you create useful pipes to stream with the parameters you want (speex, theora, ogg...) as http://wiki.laptop.org/go/GStreamer explains.

Last edited by kinta; 2010-02-20 at 13:11.
 

The Following 2 Users Say Thank You to kinta For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:42.