Liquidsoap handles failure quite well, with regards to icecast just add the restart = true flag (it defaults to false) in the liq file.
E.g.
output.icecast(
%mp3(stereo=false, samplerate=44100, bitrate=64),
liveMono,
description=icecastDescription,
genre=icecastGenre,
url=icecastURL,
name=icecastTitle,
mount=icecastMountPoint,
host=icecastHost,
password=icecastPassword,
port=icecastPort,
on_start=jackConnect)
becomes:
output.icecast(
%mp3(stereo=false, samplerate=44100, bitrate=64),
liveMono,
description=icecastDescription,
genre=icecastGenre,
url=icecastURL,
name=icecastTitle,
mount=icecastMountPoint,
host=icecastHost,
password=icecastPassword,
port=icecastPort,
restart=true,
on_start=jackConnect)
I also like the fact that upstart has the respawn flag. I sat there randomly
killing the processes of everything involved and it recovered fine.
-----Original Message-----
From: [email protected] on behalf of Rüdiger
Sent: Fri 21/09/2012 19:36
To: [email protected]
Subject: Re: [RDD] Slightly OT: Headless JACK and Upstart Scripts
Very nice.
Do you have made tests sending to an external icecast/shoutcast server.?
Mean with ices / darkice i've had trouble with DSL reconnects.!
Am 19.09.2012 15:22, schrieb Wayne Merricks:
> Hi all,
>
> I finally managed to get this working with liquidsoap, compression,
> silence detection and an audio archive
>
> Scripts are all here:
>
> http://pastebin.com/u/MezzFA0
>
> I have Rivendell feeding this machine via sound card inputs. Its been
> running for about a week, uses approx 40MB of RAM and 15% CPU.
>
> This is serving two streams to ice cast (also on the same system) one
> stereo 128kb mp3 and one mono 64kbps mp3. Both streams are compressed
> and limited but the silence monitor is only on the mono stream.
>
> I've only got a single wav for fallback but you can have a directory
> full of songs to play instead.
>
> I still can't figure out how to get jack in realtime mode so if anyone
> has any thoughts I'd be interested to know.
>
> Wayne Merricks
> The Voice Asia
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
#######################
Scanned by MailMarshal
#######################
############
Attention:
The information contained in this message is confidential and intended
for the addressee(s) only. If you have received this message in error
or there are any problems, please notify the originator immediately.
The unauthorised use, disclosure, copying or alteration of this message
is strictly forbidden. Christian Vision or any of its subsidiaries will
not be liable for direct, special, indirect or consequential damages
arising from alteration of the contents of this message by a third party
or as a result of any virus being passed on. Please note that we reserve
the right to monitor and read any e-mails sent or received by the
company under the Telecommunications (Lawful Business Practice)
(Interception of Communications) Regulation 2000. Christian Vision is
registered in England as a limited company 2842414 and as a charity
1031031
############
<<winmail.dat>>
_______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
