Hi,

This isn't necessarily the best place to ask questions, ideally we'd handle 
those in the mailing list but I have caved to the habit and now the mailing 
list is also subscribed to these issues notifications so everybody benefits 
from them.

You are right, the only way to mitigate your issue is to increase the 
`input.harbor` buffer. This will delay the initial streaming but as much time 
there is in the buffer. Also, if the client disconnects and reconnects, the 
buffer will drain a little and usually won't go up again since the client keeps 
sending at real rate. For instance:
- Client connects, liquidsoap waits `10` seconds to fill up the buffer
- Client looses connection for `3` seconds, liquidsoap keeps playing from the 
buffer
- Client reconnects, playout continues with a buffer of `7` seconds.
Etc etc.

Other than that, there isn't really any good solution. The adaptative buffer is 
a hack that will resample whatever is left to avoid emptying the buffer. This 
results in bad sound distortions. One last possibility is to add a long silence 
on your transition from live and hope to catch most cut outs. Have never tested 
that, though.

It looks like you haven't increased the buffer in your script, though, this 
should be done via the `buffer` parameter in `input.harbor`.

Closing this here for now. Feel free to re-open or follow-up on the mailing 
list.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/706#issuecomment-462838500
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to