Hi all! The input.http is supposed to regularly poll the input when connection failed. Polling delay is poll_delay and is 2. as of now.
What you are describing is definitely a bug and I would not recommend the reset stuff, it will mess the output. I think I have an idea about your issue: the connection probably failed but the socket is still connected. Two important questions before i can start moving forward with this issue are: * Which version are you using? * Would you be able to test a revent dev (hg) build? Romain Le 27 juin 2011 10:33, Dennis Heerema <[email protected]> a écrit : > Hi Samuel, > > I will give this a try and let you know! > > regards, > > Dennis > > -----Original Message----- > From: Samuel Mimram <[email protected]> > To: [email protected] > Cc: [email protected], David Baelde <[email protected]>, > savonet-users <[email protected]> > Date: Mon, 27 Jun 2011 09:54:10 +0200 > Subject: Re: [Savonet-users] Liquidsoap win32 from svn > > Hi, > > 2011/6/25 Dennis Heerema <[email protected]> >> >> How do these statements (timeout >> and server.execute("<input>.start/stop"). look in my config file? >> >> My Config file: >> >> # Input the stream, >> # from an Icecast server or any other source >> url = " 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 >> ",description="Name",restart=true, >> input) > > You should do something along the following lines (not really tested but you > should get the idea): > > url = " http://127.0.0.1:8000/studio.aac" > input = mksafe(input.http(id="studio",url)) # We give the name "studio" to > the input > > # We define a function to restart the input > def reset_input () = > server.execute("studio.stop") # Stop the input > server.execute("studio.start") # Restart it > end > > add_timeout(60., reset_input) # Call reset_input every 60 sec. > > output.icecast(...) > > I hope this helps! > > ++ > > Sam. > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
