<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I think the approach should be according to draft. eg keep the segment<br>
around atleast segment-duration+seglen (this could be tricky to calculate, but<br>
I think I have an idea howto do this in somewhat simple way).<br><br></blockquote><div><br></div><div style>if segment duration is D, then a new segment is written every D seconds.</div><div style>total length of playlist is n*D</div>
<div style>length of segment is D</div><div style><br></div><div style>so required delay is (n+1)D.</div><div style><br></div><div style>which happens after n+1 segments are output.</div><div style><br></div><div style>am I missing something?</div>
</div><br><br clear="all"><div><br></div>-- <br><br><br><br><br><br>Hobbyist Software is a trading name of Hobbyist Software Limited. Registered office Flat 4 Eastmead Court, Bristol BS9 1HP. Registered in England. Company no:7876492
</div></div>