[ 
http://dev.sourcefabric.org/browse/LS-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15817#action_15817
 ] 

Romain Beauxis commented on LS-515:
-----------------------------------

Ok, so here's a way to reproduce quickly:
Set up one harbor:
  ./liquidsoap 'set("log.level",5) 
output.dummy(fallible=true,input.harbor("test",logfile="/tmp/buffer.log"))'

Connect it to another local output:
  ./liquidsoap 
'output.icecast(%vorbis,single("/tmp/foo.mp3"),mount="test",port=8005)'
where foo.mp3 is a small file.

The resulting graph is attached.

I have also experienced this with 0.9.2 but I am not sure if this related..

Coming back to the issue: the encoded vorbis data produced by liquidsoap is 
100% correct and there does not seem to be any missing audio data..

However, during metadata update, there is a network data overhead for 
transmitting end of stream/beginning of stream. I am suspecting that the harbor 
input decoder never catchup from that and that this is the problem. 

If this is true then the problem is not specific to vorbis and could also 
happen in case of temporary network lags. If they are less than a second, we 
will not see then in the log either..

What I do not understand is why the decoding thread never catches up.

> Harbor buffer looses its data
> -----------------------------
>
>                 Key: LS-515
>                 URL: http://dev.sourcefabric.org/browse/LS-515
>             Project: Liquidsoap
>          Issue Type: Bug
>          Components: Liquidsoap
>    Affects Versions: 1.0
>            Reporter: Romain Beauxis
>            Priority: Blocker
>         Attachments: buffer.png, short-vorbis.png
>
>
> Harbor's buffer looses data and regularly gets empty without network issues..
> Attached is a log of the buffer obtained with an harbor an another liquidsoap 
> on the same machine.
> It seems that the issue appeared quite recently.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
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-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à