Hello!
After more testing I think this problem may be a communication issue between
certain encoders and liquidsoap. I'm not sure what the exact problem is, but
the buffer death-spiral appears to be consistent while streaming with the
Shoutcast encoders in Edcast, Oddcast and Station Playlist. I believe they
all share a code base.
There also appears to be a problem with liquidsoap switching between the
input harbor and a local source when using these encoders. It was sporadic
and I couldn't reproduce it predictably.
On Tue, Apr 26, 2011 at 1:57 AM, Brandon Casci <[email protected]>wrote:
>
> Also, the several thousand lines turns out to me over many minutes, and
> it's not hovering at 80k. The buffer slowly spirals down to 0, which takes
> 10 to 15 minutes, and then fills back up again. The process repeats. Neither
> log files shows a network error when this happens.
>
>
> On Tue, Apr 26, 2011 at 1:33 AM, Brandon Casci <[email protected]>wrote:
>
>>
>> OK Romain, here is what's happening.....
>>
>> # the buffer likes to hover around 80k, and slowly starts to 0 over
>> thousands of log lines, then rapidly jumps back up to 80k
>> 13.901776 2916
>> 13.902764 1692
>> 13.903521 2232
>> 13.904262 2772
>> 13.905377 2700
>> 13.906489 3240
>> 13.907238 2016
>> 13.908212 2556
>> 13.908957 792
>> 13.909852 1332
>> 13.910592 3024
>> 13.911324 1800
>> 13.912123 2340
>> 13.914270 0
>> 13.914357 4608
>> 13.915130 5760
>> 13.916071 8064
>> 13.916810 10368
>> 13.917402 10368
>> 13.917485 14976
>> 13.918664 16128
>> 13.919956 18432
>> 13.920989 20736
>> 13.922087 23040
>> 13.922824 26496
>> 13.923857 28800
>> 13.925247 31104
>> 13.925996 33408
>> 13.926830 35712
>> 13.927762 39168
>> 13.928821 41472
>> 13.929856 43776
>> 13.930600 46080
>> 13.931430 49536
>> 13.932479 51840
>> 13.933504 54144
>> 13.934249 55296
>> 13.934988 56448
>> 13.935798 58752
>> 13.936643 62208
>> 13.937388 64512
>> 13.938254 66816
>> 13.939328 69120
>> 13.940288 72576
>> 13.941252 74880
>> 13.942127 77184
>> 13.942918 78336
>> 13.943656 79488
>> 13.944432 81792
>> 13.945255 85248
>>
>>
>> On Mon, Apr 25, 2011 at 6:19 PM, Brandon Casci <[email protected]>wrote:
>>
>>> the version options says.....
>>>
>>> Liquidsoap 1.0.0-beta+svn (trunk/liquidsoap@rev8064).
>>>
>>>
>>>
>>> On Mon, Apr 25, 2011 at 5:58 PM, Brandon Casci
>>> <[email protected]>wrote:
>>>
>>>> Nearly all of the ones with problems use MP3. Also a few of them seem to
>>>> have the problem around song changes, so their encoder might not send data
>>>> for a short time, which probably means the input harbor thinks
>>>> disconnected...the buffer probably runs out before the audio track is sent.
>>>> Just a guess though.
>>>>
>>>> OK, I will go in there and start logging away :)
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, Apr 25, 2011 at 5:44 PM, Romain Beauxis
>>>> <[email protected]>wrote:
>>>>
>>>>> 2011/4/25 Brandon Casci <[email protected]>:
>>>>> > Right now we have a trunk version in place. I'm not sure of the
>>>>> version. I
>>>>> > will check, it's from withing the last 3 months though.
>>>>>
>>>>> Ok. Also, what input format are you clients using? ogg/vorbis? mp3?
>>>>>
>>>>> > I was not aware of logging specific to the input harbor. Can please
>>>>> you
>>>>> > point me to the docs?
>>>>>
>>>>> Well, just add:
>>>>> logfile="/tmp/buffer.log"
>>>>> to the arguments of input.harbor, and send me/us the file after you
>>>>> have observed some disconnections..
>>>>>
>>>>> > The logs currently don't show network activity, just switching
>>>>> between
>>>>> > sources. Do we need to increase the log level, or would this data
>>>>> show up
>>>>> > in the input harbor log?
>>>>>
>>>>> Yes possibly. You could use
>>>>> set("log.level",5)
>>>>> to see more details..
>>>>>
>>>>> Romain
>>>>>
>>>>> >
>>>>> > On Mon, Apr 25, 2011 at 5:20 PM, Romain Beauxis <
>>>>> [email protected]>
>>>>> > wrote:
>>>>> >>
>>>>> >> Hi again,
>>>>> >>
>>>>> >> 2011/4/25 Romain Beauxis <[email protected]>:
>>>>> >> > Le 25 avril 2011 15:02, Brandon Casci <[email protected]> a
>>>>> écrit :
>>>>> >> >> Hello
>>>>> >> >
>>>>> >> > Hi Brandon,
>>>>> >> >
>>>>> >> >> I have a considerable amount of broadcasters that have issues
>>>>> with
>>>>> >> >> streaming
>>>>> >> >> to an input harbor. Their broadcast frequently switches between a
>>>>> local
>>>>> >> >> source and the input harbor. After a lot of research a few of
>>>>> them do
>>>>> >> >> have
>>>>> >> >> crappy home networks, and bandwidth issues, which explains some
>>>>> of the
>>>>> >> >> problems. The others seem to have no bandwidth issues, but I am
>>>>> >> >> wondering if
>>>>> >> >> Liquidsoap is input harbor more sensitive to network latency than
>>>>> >> >> Icecast
>>>>> >> >> and Shoutcast. So maybe Liquidsoap has a smaller buffer, and is
>>>>> prone
>>>>> >> >> to
>>>>> >> >> thinking the live broadcast has been disconnected much earlier
>>>>> than
>>>>> >> >> Shoutcast or Icecast might. Is that a reasonable theory? For now
>>>>> I'm
>>>>> >> >> going
>>>>> >> >> to test it by having some live stream directly to an Icecast
>>>>> server
>>>>> >> >> and see
>>>>> >> >> if their problems go away.
>>>>> >> >
>>>>> >> > What version of liquidsoap are you using?
>>>>> >>
>>>>> >> The reason I am asking this is because I also suspect something in
>>>>> the
>>>>> >> recent versions of liquidsoap.
>>>>> >> One thing you can do to monitor the issue is to use the logfile
>>>>> >> parameter of input.harbor. This creates a file which contains the
>>>>> >> length of the input buffer over time which can be plotted, in order
>>>>> to
>>>>> >> get an idea of what's going on..
>>>>> >>
>>>>> >> Also, you should check the logs for messages of the type:
>>>>> >> "No network activity for 1 second(s)."
>>>>> >> If those messages happen a lot and the graph of the input buffer
>>>>> goes
>>>>> >> to zero, then the problem is on the networking side..
>>>>> >>
>>>>> >> > Romain
>>>>> >> >
>>>>> >> >> --
>>>>> >> >> =========================================
>>>>> >> >> Brandon Casci
>>>>> >> >> Loudcaster
>>>>> >> >> http://loudcaster.com
>>>>> >> >> =========================================
>>>>> >> >>
>>>>> >> >>
>>>>> >> >>
>>>>> ------------------------------------------------------------------------------
>>>>> >> >> WhatsUp Gold - Download Free Network Management Software
>>>>> >> >> The most intuitive, comprehensive, and cost-effective network
>>>>> >> >> management toolset available today. Delivers lowest initial
>>>>> >> >> acquisition cost and overall TCO of any competing solution.
>>>>> >> >> http://p.sf.net/sfu/whatsupgold-sd
>>>>> >> >> _______________________________________________
>>>>> >> >> Savonet-users mailing list
>>>>> >> >> [email protected]
>>>>> >> >> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>> >> >>
>>>>> >> >>
>>>>> >> >
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> ------------------------------------------------------------------------------
>>>>> >> WhatsUp Gold - Download Free Network Management Software
>>>>> >> The most intuitive, comprehensive, and cost-effective network
>>>>> >> management toolset available today. Delivers lowest initial
>>>>> >> acquisition cost and overall TCO of any competing solution.
>>>>> >> http://p.sf.net/sfu/whatsupgold-sd
>>>>> >> _______________________________________________
>>>>> >> Savonet-users mailing list
>>>>> >> [email protected]
>>>>> >> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > =========================================
>>>>> > Brandon Casci
>>>>> > Loudcaster
>>>>> > http://loudcaster.com
>>>>> > =========================================
>>>>> >
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today. Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Savonet-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =========================================
>>>> Brandon Casci
>>>> Loudcaster
>>>> http://loudcaster.com
>>>> =========================================
>>>>
>>>
>>>
>>>
>>> --
>>> =========================================
>>> Brandon Casci
>>> Loudcaster
>>> http://loudcaster.com
>>> =========================================
>>>
>>
>>
>>
>> --
>> =========================================
>> Brandon Casci
>> Loudcaster
>> http://loudcaster.com
>> =========================================
>>
>
>
>
> --
> =========================================
> Brandon Casci
> Loudcaster
> http://loudcaster.com
> =========================================
>
--
=========================================
Brandon Casci
Loudcaster
http://loudcaster.com
=========================================
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users