I'm trying to build a system similar to the following diagram:
My plan is to configure my Raspberry Pi, depicted as the Mixxx Block in the diagram, to stream audio from a file or a microphone connected to the RPi. The stream should be sent over the internet to an Icecast server, one like listen2myradio.com, which will handle the broadcasting to multiple Listeners.
I found many tutorials on the internet using MPD and MPC connected to an Icecast server. However, all the tutorials I went through have the MPD and Icecast on one RPi, similar to the following diagram
I tried to adapt the same instructions found in those tutorials, but replaced stuff like "localhost" with the ip address I got from listen2myradio.
following is how I configured my MPD:
audio_output {
type "shout"
name "RasPi MPD Stream"
description "MPD stream on Raspberry Pi"
host "78.126.230.18"
port "8129"
mount "/stream"
password "ICECAST_SOURCE_PASSWORD"
bitrate "128"
format "44100:16:2"
encoding "mp3"
}
However there was no connection to the Icecast server. Executing the command netstat -ltpn gives:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 365/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 366/sshd
tcp6 0 0 :::8000 :::* LISTEN 405/mpd
tcp6 0 0 :::6600 :::* LISTEN 405/mpd
tcp6 0 0 :::5355 :::* LISTEN 365/systemd-resolve
tcp6 0 0 :::22 :::* LISTEN 366/sshd
My question is: what does the address ":::8000" in the netstat above means?
Is there a good tutorial to build a system similar to the one described above? I'm open to any other software other than MPD and Icecast.
Many thanx in advanced!
p.S.: I'm using Archlinux