Repository for web page of "Żywe Radio" focused on streaming live music. Technologies used are really simple so anyone can fork it with ease and create their own radio station - there is no need to setup fancy database etc. just icecast, web server like apache2.
- Install icecast on server:
sudo apt install icecast2
. You will be asked to create few passwords - remember them. - Install webserver to host this page. If you choose apache2 install it using following command
sudo apt install apache2
then copy this page files to/var/www/html/
. - Edit
index.html
and replacefirmanty.com
with your own hostname (or server IP number). The same with upcoming and incoming shows section :) - Test that stream works correctly by using following tool (http://danielnoethen.de/butt/) (warning: if you are using MacOS at the time of writting version
0.1.19
doesn't work on Mac - use0.1.18
).
- After installation click settings and
Add
inServer
section. Fill the host data with your own - password is password for the usersource
that was created during installation. Mountpoint can be anything but if you want to use following page without modifying it then set it as/radio
. Icecast user will be/radio
. - In the
Audio
tab select your input device and set streaming coded tomp3
. - Save config and test the connection by clicking
play
button. - You should see
Connection established
message, after that clickrecord
and now anyone that will visit your page and clickPlay
will hear your stream :)