[arm-allstar] broadcastify setup
Don Sayler
don.sayler at gmail.com
Tue Mar 5 16:57:29 EST 2024
Thanks John.
With this and some additional info and updated scripts, it is now running.
Don
On Tue, Mar 5, 2024 at 3:22 AM John Morandi <ni4jm.21 at gmail.com> wrote:
> Good morning sir! What I did was add that line you referred to:
> "lame --preset cbr 16 -r -m m -s 8 --scale 1.1 --bitwidth 16 /tmp/outsound/pipe1
> - 2>/tmp/stream.status | ezstream -qvc /etc/asterisk/ezstream.xml"
> to the bottom of my /etc/rc.local and it starts up at each boot. I added
> some sleep time on the line above it. 'sleep 30' to add some delay to allow
> all my auto-connects to get happy before starting ezstream. There may be an
> easier or better way of doing this but, this has worked for us.
>
> - John NI4JM
>
> On Sun, Mar 3, 2024 at 1:06 PM Don Sayler via ARM-allstar <
> arm-allstar at hamvoip.org> wrote:
>
>> So far, nothing has worked. If I connect to the node via Putty as root and
>> start EZStream manually, it works. But it fails 15 minutes after I drop
>> the
>> Putty connection. My understanding is that if I have the 'outstreamcmd'
>> line in rpt.conf, I don't need to do anything else.
>>
>> On Fri, Mar 1, 2024 at 2:54 PM Don Sayler <don.sayler at gmail.com> wrote:
>>
>> > Hi Gerry.
>> >
>> > I'll give it a try. And now we're offline again.
>> >
>> > On Fri, Mar 1, 2024 at 2:07 PM Gerry Filby via ARM-allstar <
>> > arm-allstar at hamvoip.org> wrote:
>> >
>> >> I took a look at one of our configs and we don't have the line
>> >> <reconnect_tries> - maybe try removing that line and see if it makes a
>> >> difference ?
>> >>
>> >> Best,
>> >> Gerry.
>> >>
>> >>
>> >> Don Sayler via ARM-allstar wrote on 3/1/24 12:18 PM:
>> >> > BTW, Broadcastify says they're not getting our stream.
>> >> >
>> >> > On Fri, Mar 1, 2024, 10:05 AM Don Sayler <don.sayler at gmail.com>
>> wrote:
>> >> >
>> >> >> Hi All.
>> >> >>
>> >> >> I had this working some time ago, and then we stopped using it and
>> the
>> >> >> feed was deleted from the Broadcastify server.
>> >> >> I set up a new one, and reconfigured our end. But we still show as
>> >> >> offline. Here is my xml...
>> >> >>
>> >> >> <ezstream>
>> >> >> <url>http://audio9.broadcastify.com:80/[mount id]</url>
>> >> >> <sourcepassword>[pw]</sourcepassword>
>> >> >> <format>MP3</format>
>> >> >> <filename>stdin</filename>
>> >> >> <stream_once>1</stream_once>
>> >> >> <reconnect_tries>0</reconnect_tries>
>> >> >> <svrinfoname>K7LWH Repeater System</svrinfoname>
>> >> >> <svrinfourl>http://www.radioreference.com/</svrinfourl>
>> >> >> <svrinfogenre>Amateur Radio</svrinfogenre>
>> >> >> <svrinfodescription>Kirkland WA USA</svrinfodescription>
>> >> >> <svrinfobitrate>16</svrinfobitrate>
>> >> >> <svrinfochannels>1</svrinfochannels>
>> >> >> <svrinfosamplerate>22050</svrinfosamplerate>
>> >> >> <svrinfopublic>1</svrinfopublic>
>> >> >> </ezstream>
>> >> >>
>> >> >> This is how I'm trying to start it, from a bash script.
>> >> >> #!/bin/bash
>> >> >> #restart ezstream...
>> >> >> # first, quit any existing sessions...
>> >> >> screen -ls | grep 'ezstream' | awk '{print $1}' | xargs -I % -t
>> screen
>> >> -X
>> >> >> -S % quit
>> >> >>
>> >> >> # next, create a new screen
>> >> >> screen -dmS ezstream
>> >> >>
>> >> >> # finally, start ezstream in that screen
>> >> >> screen -S ezstream -X stuff 'lame --preset cbr 16 -r -m m -s 8
>> --scale
>> >> 1.1
>> >> >> --bitwidth 16 /tmp/outsound/pipe1 - 2>/tmp/stream.status | ezstream
>> >> -qvc
>> >> >> /etc/asterisk/ezstream.xml\n'
>> >> >>
>> >> >> What am I missing? I'm not much of a linux guy, so I don't really
>> >> >> understand what this bash does.
>> >> >> Thanks.
>> >> >> Don
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> > _______________________________________________
>> >> >
>> >> > ARM-allstar mailing list
>> >> > ARM-allstar at hamvoip.org
>> >> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >> >
>> >> > Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>> >>
>> >> _______________________________________________
>> >>
>> >> ARM-allstar mailing list
>> >> ARM-allstar at hamvoip.org
>> >> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >>
>> >> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>> >>
>> >
>> _______________________________________________
>>
>> ARM-allstar mailing list
>> ARM-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>>
>
More information about the ARM-allstar
mailing list