1,517 bytes added
, 7 years ago
You'll need an account on broadcastify.com / radioreference.com to set up your feed.
<pre>
apt-get update
apt-get install ezstream lame -y
</pre>
Add this to the bottom of the node stanza in rpt.conf for the node you want to broadcast.
<pre>
outstreamcmd = /bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml
</pre>
Meaning of outstream paramaters:<br/>
-- preset cbr 16 = use constant bit rate 16<br/>
-r = Assume the input file is raw pcm<br/>
-m m = Mode mono<br/>
-s 8 = sample rate 8<br/>
--bitwidth 16 = bit width is 16 (default)<br/>
This is the contents of ezstream.xml<br/>
You will need to add / edit your passwords etc. for Broadcastify. Place in /etc directory.
<pre>
<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>
</pre>