- The official Icecast image suggested by the test document is no longer available, so I chose to use an unofficial image of Icecast.
-
Cloning and accessing the repository:
git clone https://github.com/RenanMMaciel/technical-challenge-loopert.git && cd technical-challenge-loopert
-
Downloading images, building and up Icecast and Nginx containers.
docker compose up -d
-
After downloading BUTT
- Click on “Configs”
- In the “Server” section, click on “Add”
- In the “Name” field, fill in “Icecast”
- In the “Type” field, choose “Icecast”
- In the “Address” field, fill in “localhost”
- In the “Port” field, fill in “8000”
- In the “Password” field, fill in with “
source-password” from theicecast.xmlfile - In the “Mount” field, fill in “/stream”
- In the “Icecast User” field, fill in “source”
- Click on "Add"
- Close the configuration window
- Back on the BUTT home screen, click on the “Play” icon
-
Access localhost:8000
- On localhost:8000, you can see the Icecast options, such as “Administration”, "Server Status" and "Version".
- Click on "Administration"
- In the “Username” field, fill in with “
admin-user” from theicecast.xmlfile - In the “Password” field, fill in with “
admin-password” from theicecast.xmlfile - Submit login
- On localhost:8000/admin/, you can see the Icecast Admin options, such as “Admin Home”, "List Mountpoints", "Move Listeners" and "Index".
- Click on "List Mountpoints" and you can see a mount point "/stream"
- On localhost:8000, you can see the Icecast options, such as “Administration”, "Server Status" and "Version".
-
Access localhost:80/stream
- You can see the audio started on BUTT being broadcast by the live player.