[vlc-devel] "Race condition" in livehttp module
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:
> > 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.
Remembering is for those who have forgotten.
-- Chinese proverb
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: Digital signature
More information about the vlc-devel