Songcast Sender - PeteManchester/MediaPlayer GitHub Wiki
Beta..
MPD has the ability to provide an http stream of the track it is playing. This can be used by the MediaPlayer as a source for a Songcast Sender.
Edit the /etc/mpd.conf to include this section as an Audio Output:
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "wave" # optional
port "8000"
# bitrate "128" # do not define if quality is defined
format "44100:16:2"
always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopped.
tags "no" # httpd supports sending tags to listening streams.
}
If experiencing packet loss on Songcast or Airplay receiver try the following mod:
nano /etc/sysctl.conf
Modify or Add the following lines:
net.core.rmem_max = 1310720
net.core.rmem_default = 1310720
net.core.wmem_default=1310720
net.core.wmem_max=1310720
To check on packet loss use the command:
netstat -suna