On Wed, Apr 22, 2015 at 11:40 AM, Edoardo Codeglia <[email protected]>
wrote:

> Hello,
> I'm having a problem with liquidsoap. When i upload a stream from my
> alsa soundcard straight to my icecast server, the stream stutters,
> blocks arrive in altered order and icecast rejects the connection
> because of timeout. It happens with all servers i have but my local one.
> What could the problem be? How would i debug it?
>

I have made it a point for many years now never to shout at a distance. I
always shout to a local server and then have the main server pull that
stream and present it to the listeners. I find my reliability goes way up
and my problems go way down as a result. I began this practice before I
knew of liquidsoap. I think I was mostly doing darkice->icecast when I
began this practice.

In any case, here is a config that does not give me problems:

#!/usr/bin/liquidsoap

#message =
#  "The Savonet team thanks you for using liquidsoap, " ^
#  "and we hope you'll enjoy it!"

#set("jack.client_name","liquidsoap")


# We're 48k!
set("frame.audio.samplerate",48000)
# Grab JACK input
# We don't do any fallback here
radio = mksafe(input.jack(id="listenup"))

output.icecast(%mp3(bitrate=128), host="localhost", port=8000,
password="hackme",
mount="listenup.mp3", genre="World", url="http://127.0.0.1:8000";,
name="NiceName", description="Nice Radio",
format="audio/mpeg", icy_metadata="true", radio)

#========================

Perhaps it may help.

all the best,

drew



>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>



-- 
http://nakedghosts.blogspot.com/
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to