[vlc-devel] "Race condition" in livehttp module

Ilkka Ollakka ileoo at videolan.org
Thu Jun 13 23:38:30 CEST 2013


On Thu, Jun 13, 2013 at 09:53:19PM +0100, Rob Jonson wrote:

Hi,

> > I think the approach should be according to draft. eg keep the segment
> > around atleast segment-duration+seglen (this could be tricky to calculate,
> > but
> > I think I have an idea howto do this in somewhat simple way).

> if segment duration is D, then a new segment is written every D seconds.
> total length of playlist is n*D
> length of segment is D

> so required delay is (n+1)D.

> which happens after n+1 segments are output.

> am I missing something?

You are missing that the segment duration is given maximum duration of
segment and it can be shorter than that.

But yes, it didn't turn out to be that many lines anyway.

-- 
Ilkka Ollakka
Remembering is for those who have forgotten.
		-- Chinese proverb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130614/77b5f804/attachment.sig>


More information about the vlc-devel mailing list