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

Romain Beauxis commented on LS-520:
-----------------------------------

I have though about this in the paste and I think its an difficult topic, as 
David described. However, I'd be curious to see if such algorithm is feasible.

I would, however, suggest to take a conservative approach: these issues affect 
relatively few broadcasters, thus it is important to maintain a functional 
harbor for the other.
Therefore, making it optional and disabled by default would be a good first 
step.

Secondly, from Solvik's experience, the drift seems to be pretty constant for a 
given situation. Thus, maybe it could be implemented with a fixed value for the 
correction, which the user would chose according to its own context. 

In this case, it could even be combined very nicely with 
on_connect/on_disconnect the following way: 
 * Export a function allowing to set the drifting/lagging countereffect 
parameter
 * Document how to identify a broadcaster, either in on_connect or in auth and 
how to set the correct value accordingly

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