Good Day,
I have a very simple portable (Raspberry PI + 3G modem) internet radio
stream based only on Microphone input (ALSA).
I have two outputs configured:
1. Icecast
2. File
In bad internet connectivity icecast struggles to maintain the stream,
however this causes my file output to also suffer or discontinue.
I would like to know if its possible that the file output is always running
even when icecast is having issues?
My config is as follows:
#!/usr/bin/liquidsoap -v
# STL Liquidsoap Config
# Logging
set("log.file.path", "/home/pi/logs/liquidsoap.log")
# Our main source is streaming with silence detection
radio_stream = input.alsa(device="hw:1,0",bufferize=true)
# After 90 sec of blank the stream is discontinued
radio_stream = strip_blank(length=90.,threshold=-19.,radio_stream)
#Dump live recordings to a file
time_stamp = '%m-%d-%Y_%H:%M:%S'
output.file(
%mp3(bitrate=64, samplerate=44100, mono=true),
"/home/pi/recordings/live_stream_#{time_stamp}.mp3",
radio_stream,fallible=true)
# Stream it out
output.icecast(
%mp3(bitrate=24, samplerate=44100, mono=true),
host = "myHost.com",
port = 8000,
password = "myPass",
mount = "myMount",
radio_stream,
fallible=true,
description="myDescription",
url="myURL")
Thank you for your assistance.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users