Broadcastify
Jump to navigation
Jump to search
You'll need an account on broadcastify.com / radioreference.com to set up your feed.
apt-get update apt-get install ezstream lame -y
Add this to the bottom of the node stanza in rpt.conf for the node you want to broadcast.
outstreamcmd = /bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml
Meaning of outstream paramaters:
-- preset cbr 16 = use constant bit rate 16
-r = Assume the input file is raw pcm
-m m = Mode mono
-s 8 = sample rate 8
--bitwidth 16 = bit width is 16 (default)
This is the contents of ezstream.xml
You will need to add / edit your passwords etc. for Broadcastify. Place in /etc directory.
<ezstream> <url>http://audio3.broadcastify.com:80/mountpoint-provided-by-broadcastify</url> <sourcepassword>feed-specific-password-not-same-as-website-login</sourcepassword> <format>MP3</format> <filename>stdin</filename> <stream_once>1</stream_once> <reconnect_tries>0</reconnect_tries> <svrinfoname>Description </svrinfoname> <svrinfourl>http://www.radioreference.com/</svrinfourl> <svrinfogenre>Amateur Radio</svrinfogenre> <svrinfodescription>Description</svrinfodescription> <svrinfobitrate>16</svrinfobitrate> <svrinfochannels>1</svrinfochannels> <svrinfosamplerate>22050</svrinfosamplerate> <svrinfopublic>1</svrinfopublic> </ezstream>