Great thanks for the details. I'll have to investigate with LibreTime to
see if we end up delaying the switch over and continue with whatever is
prescheduled to play when the buffer size increases dramatically.
Also curious about the ramifications of fallible being set to true vs.
false. I think LibreTime sets it to true. At what point does liquidsoap
dump the buffer completely and require a new buffer to fill before
reconnecting. I should probably play around with this myself but I
figured if I can get insight from someone who has better base knowledge
it might help.
Do you know how to set a period of silence for the transition ? I'd be
willing to explore this as well because silence I think would be a good
option to avoid playing short segments of other songs in the middle of a
show.
Ideally this would be something that we could make configurable via the
web interface of LibreTime for admins but we haven't spent the time to
investigate the best ways of making the file customizable.
Has anyone built into liquidsoap the capability of querying a database
for variables in a .liq file or do we need to manually rewrite the file
and reload liquidsoap to allow customization of this sort. I looked at
the docs and couldn't find anything. Just curious if this has been
explored at all.
Thanks.
Robbt
On 2/12/19 11:49 AM, Romain Beauxis wrote:
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, view it on GitHub
<https://github.com/savonet/liquidsoap/issues/706#issuecomment-462838500>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Am23y0iPdUz4k0vIfsRbvrUP8RkF8FoOks5vMvCngaJpZM4ayi4G>.
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users