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

Samuel Mimram commented on LS-520:
----------------------------------

I think testing is not too complicated: Romain has recently introduced a seek 
operator, so it would be easy to drop or duplicate some packets (at least in 
mp3) in order to test. I don't really know about how to analyze the problem, 
but we could easily instrument the Generated sources.

Concerning the control algorithm, of course we can do something really nice 
(e.g. don't start to drop abruptly but slowly increase the speed, in the same 
spirit as the auto-gain control). But even a simple solution would be much 
better than having buffer under/overflows... So I am in favor of starting to 
implement the direct solution and then improve.

Finally, we have no way to know which clock is faulty. In a first time, I think 
that we can assume that Liq is the reference clock.

> Deal linearly with drifting
> ---------------------------
>
>                 Key: LS-520
>                 URL: http://dev.sourcefabric.org/browse/LS-520
>             Project: Liquidsoap
>          Issue Type: New Feature
>            Reporter: Samuel Mimram
>            Priority: Major
>
> I think I have a simple idea to deal with drifting: if the client streams 
> data too fast we could drop a sample once in a while, and  if the client is 
> too slow we could duplicate a sample once in a while. If the drift is not too 
> important, it won't be audible. And the implementation is simple: it's just a 
> matter of scaling linearly the buffer.
> It would be very nice if an option could be added to habor to have this kind 
> of behavior. Unfortunately, I don't know the harbor code well-enough to be 
> able to implement this. Maybe Romain ? ;)
> PS: from what I understand, this should be dont by improving Generated 
> sources.

-- 
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 à