Hi David!

Does this look correct to you?

# Server settings for live source
set( "harbor.bind_addr", "0.0.0.0" )
set( "harbor.port", ... )
set( "harbor.password", "..." )

# Accept incoming live source from Winamp or Oddcast
# When live is up trigger website scripts
def live_start()
   system( "/home/radioclave2/scripts/live_start.py &" )
   ignore( execute( "live_id.start" ) )
end
def live_stop()
   system( "/.../scripts/live_stop.py &" )
   ignore( execute( "live_id.stop" ) )
end
live = mksafe( input.harbor( id = "live_id", buffer = 10., max = 20.,
on_connect = live_start, on_disconnect = live_stop, "Live" ) )
output.file.mp3( id = "live_id", append = true, reopen_when = is_live,
"/..../live/live_%Y%m%d_%H%M%S.mp3", live )


On 15/04/2008, David Baelde <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Nice setup!
>
>
> On Tue, Apr 15, 2008 at 10:06 PM, Info Radioclave <[EMAIL PROTECTED]>
> wrote:
> > 2. What is the difference between these parameters:
> > buffer (float | defaults to 2.): Duration of the pre-buffered data.
> > max (float | defaults to 10.): Maximum duration of the buffered data.


So increasing buffer to 10s means liquidsoap waits 10s before retransmitting
(including blank) or gathers data worth of 10s?

The operator has a buffer of size "max". When it starts receiving data
> it does not replay it immediately but pre-bufferizes, i.e. waits for
> "buffer" seconds to be in-store before starting to replay.
>
>
> > We tested live transmission from a club with a laptop and a 3G card last
> > saturday.
> > Unfortunately sound was intermittent, coming on then off with some
> seconds
> > intervall.
> > Maybe som buffering would work.
>
>
> Unfortunately you already have decent buffering, it seems... if the
> connection is poor, try to lower the quality of the MP3 stream.
>
> Good luck and make sure to keep us informed if it works :)
> --
>
> David
>

Reply via email to