Hi all,
Some months ago I ended up with my live stream and local-backup liq file as
per http://savonet.sourceforge.net/doc-1.0.0-beta1/clocks.html
input = clock(id="oss",sync=false, input.oss())
output.icecast(%mp3,mount="blah",restart=true,
mksafe(buffer(input)))
output.file(%mp3,"record-%Y-%m-%d-%H-%M-%S.mp3",
input)
Now in the svn docs (http://savonet.sourceforge.net/doc-svn/clocks.html)
shows:
input = input.oss()
clock(id="icecast",
output.icecast(%mp3,mount="blah",restart=true,
mksafe(buffer(input))))
output.file(
%mp3,"record-%Y-%m-%d-%H-%M-%S.mp3",
input)
Having the Clock on the output.icecast instead on the input. Is there a
special reason? The 1.0.0-beta1 code isn't working on the current svn
version.
Furthermore, in both setup's above the following happens while forcing the
connection to go down:
0sec. sudo route del default (force the connection down)
8sec. listening to the source via icecast gets down.
93/94sec. Liquidsoap reports the first signs of disconnection:
2010/12/29 19:54:18 [11909090:2] Cry socket error: could not write data to
host: Unix.Unix_error(2, "write", "")!
2010/12/29 19:54:18 [11909090:3] Closing connection...
2010/12/29 19:54:18 [11909090:3] Will try to reconnect in 3 seconds.
2010/12/29 19:54:18 [clock.wallclock_icecast:2] Too much latency! Resetting
active sources...
2010/12/29 19:54:18 [11909090:3] Connecting mount 11909090 for sou...@......
2010/12/29 19:54:21 [11909090:3] Connection setup was successful.
In my on_disconnect I included to restore the route, so connecting again
works directly after 3 secs of disconnection.
But now I have an 93/94 seconds of disconnection without action of
Liquidsoap. How can I setup Liquidsoap to reconnect much faster?
grts and best wishes for 2011
Cees
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users