Hello David,
How do these statements (timeout
and server.execute("<input>.start/stop"). look in my config file?
The situation is as follows, it's a stream from an hospital radio station,
that is send uit from the hospital network via eddcast in AAC-HE v2 (48
Kbps) to a upstream icecast server.
To get more bandwith this is relayed with an icecast server on glassfiber
(50 MB up and down). At this server we run liquidsoap to convert the AAC+
stream he is relaying to an 64 Kbps Mp3 stream to serve windows mediaplayers
who are not compatible with AAC+.
We are depending on the network of the hospital, so when they are doing
maintainance on the firewall or on their connection, maybe they do Qos and
our stream is low priority (can imagine other traffic is more life depending
than the streamof the hospital raidio and then drops and that is out of my
hands.
I could emulate the problem, by reconfiguring the stream in eddcast, at that
moment there is al little connection los before it connects again. At that
moment, the relays are lost for a brief moment. Then the following happens:
Liquidsoap still runs an mp3 stream output, but with no audio even after the
stream recovers itself and the Icecast aac+ relay, the mp3 outputstream
stays silent but running. The only way to get the mp3 stream starting again
is by restarting liquidsoap.
Below my config file, could you please add the statments needed at the right
place, Romain also suggested to increasing the buffer and max parameters, i
can't find them in the online documents....could somebody please add them to
my config?
My Config file:
# Input the stream,
# from an Icecast server or any other source
url = "http://127.0.0.1:8000/studio.aac [http://127.0.0.1:8000/studio.aac]"
input = mksafe(input.http(url))
# First transcoder: MP3 64 kbps
output.icecast(%mp3(stereo=true, bitrate=64), host = "localhost", port =
8000, password = "password", mount =
"studio.mp3",genre="various",url="http://URL
[http://url/]",description="Name",restart=true,
input)
Thanks for helping me out!
Regards,
Dennis
-----Original Message-----
From: David Baelde <[email protected]>
To: [email protected]
Cc: Romain Beauxis <[email protected]>, savonet-users
<[email protected]>
Date: Sat, 25 Jun 2011 12:37:18 +0200
Subject: Re: [Savonet-users] Liquidsoap win32 from svn
Hi Dennis,
Sorry that I misunderstood. You could achieve this using add_timeout
and server.execute("<input>.start/stop"). But this sounds like a bug:
Can you describe again what causes the http input to drop data? It
would make sense if the icecast output had stopped using the HTTP
input. But I don't see how the input would become silent because it
has previously dropped data: on the contrary, its buffer should be
full of data.
Cheers,
David
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users